]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc/src/main/java/org/argeo/slc/core/test/TimeTestResultId.java
Introduce results persistence
[gpl/argeo-slc.git] / org.argeo.slc / src / main / java / org / argeo / slc / core / test / TimeTestResultId.java
1 package org.argeo.slc.core.test;
2
3 import org.argeo.slc.core.deploy.DeployedSystemId;
4
5 public class TimeTestResultId extends NumericTRId {
6 private DeployedSystemId deployedSystemId;
7
8 public void init() {
9 if (getValue() == null) {
10 setValue(System.currentTimeMillis());
11 }
12 }
13
14 public void setDeployedSystemId(DeployedSystemId deployedSystemId) {
15 this.deployedSystemId = deployedSystemId;
16 }
17
18 public DeployedSystemId getDeployedSystemId() {
19 return deployedSystemId;
20 }
21 }