]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java
Do some clean up in SLC
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / process / SlcExecution.java
index 37b647ad320281f94dfd6e05ef9185d0e3a0c04f..13189b453d37ec0f95e469fa0470bd6adffb4f8d 100644 (file)
@@ -24,7 +24,9 @@ import java.util.Map;
 import java.util.TreeMap;\r
 \r
 import org.argeo.slc.execution.ExecutionProcess;\r
+import org.argeo.slc.execution.ExecutionStep;\r
 \r
+/** @deprecated use other implementations of {@link ExecutionProcess} */\r
 public class SlcExecution implements ExecutionProcess, Serializable {\r
        private static final long serialVersionUID = -7607457971382118466L;\r
 \r
@@ -34,7 +36,7 @@ public class SlcExecution implements ExecutionProcess, Serializable {
        private String host;\r
        private String user;\r
        private String type;\r
-       private String status = UNINITIALIZED;\r
+       private String status = NEW;\r
        private Map<String, String> attributes = new TreeMap<String, String>();\r
 \r
        /** TODO: Synchronize */\r
@@ -60,6 +62,10 @@ public class SlcExecution implements ExecutionProcess, Serializable {
                this.steps = steps;\r
        }\r
 \r
+       public void addSteps(List<ExecutionStep> steps) {\r
+               // not implemented on deprecated\r
+       }\r
+\r
        public String getUuid() {\r
                return uuid;\r
        }\r