]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/java/org/argeo/slc/core/process/SlcExecution.java
0f2d1b66c11e65faacb6468f74112a5d27296c89
1 package org
.argeo
.slc
.core
.process
;
4 import java
.util
.Vector
;
6 public class SlcExecution
{
7 public final static String STATUS_SCHEDULED
= "SCHEDULED";
8 public final static String STATUS_RUNNING
= "RUNNING";
9 public final static String STATUS_FINISHED
= "FINISHED";
10 public final static String STATUS_ERROR
= "ERROR";
11 public final static String STATUS_CLEANED
= "CLEANED";
13 public final static String UNKOWN_HOST
= "UNKOWN_HOST";
19 private String status
;
21 private List
<SlcExecutionStep
> steps
= new Vector
<SlcExecutionStep
>();
23 public List
<SlcExecutionStep
> getSteps() {
27 public void setSteps(List
<SlcExecutionStep
> steps
) {
31 public String
getUuid() {
35 public void setUuid(String uuid
) {
39 public String
getHost() {
43 public void setHost(String host
) {
47 public String
getPath() {
51 public void setPath(String path
) {
55 public String
getType() {
59 public void setType(String type
) {
63 public String
getStatus() {
67 public void setStatus(String status
) {
72 public boolean equals(Object obj
) {
73 if (obj
instanceof SlcExecution
) {
74 return getUuid().equals(((SlcExecution
) obj
).getUuid());
80 public int hashCode() {
81 return getUuid().hashCode();