]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/process/SlcExecution.java
Remove runtime packages
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / process / SlcExecution.java
index 37b647ad320281f94dfd6e05ef9185d0e3a0c04f..068c6957725c16c9874ba6d8274ffea2c872b739 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>\r
+ * Copyright (C) 2007-2012 Argeo GmbH\r
  *\r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
  * you may not use this file except in compliance with the License.\r
@@ -13,7 +13,6 @@
  * See the License for the specific language governing permissions and\r
  * limitations under the License.\r
  */\r
-\r
 package org.argeo.slc.process;\r
 \r
 import java.io.Serializable;\r
@@ -24,7 +23,10 @@ import java.util.Map;
 import java.util.TreeMap;\r
 \r
 import org.argeo.slc.execution.ExecutionProcess;\r
+import org.argeo.slc.execution.ExecutionStep;\r
+import org.argeo.slc.execution.RealizedFlow;\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