]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java
Add versioning driver
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / execution / ExecutionFlowDescriptor.java
index 54895428cef2af3f80a78a8071ee03f1e4206f15..89f0eac94b0dfb7b7bbc0532cd3f87a6743a3e6d 100644 (file)
@@ -4,6 +4,8 @@ import java.util.Map;
 
 public class ExecutionFlowDescriptor {
        private String name;
+       private String description;
+       private String path;
        private Map<String, Object> values;
        private ExecutionSpec executionSpec;
 
@@ -21,6 +23,14 @@ public class ExecutionFlowDescriptor {
                return name;
        }
 
+       public String getPath() {
+               return path;
+       }
+
+       public void setPath(String path) {
+               this.path = path;
+       }
+
        public Map<String, Object> getValues() {
                return values;
        }
@@ -41,4 +51,24 @@ public class ExecutionFlowDescriptor {
                this.executionSpec = executionSpec;
        }
 
+       public String getDescription() {
+               return description;
+       }
+
+       public void setDescription(String description) {
+               this.description = description;
+       }
+
+       @Override
+       public boolean equals(Object obj) {
+               if (obj instanceof ExecutionFlowDescriptor)
+                       return name.equals(((ExecutionFlowDescriptor) obj).getName());
+               return false;
+       }
+
+       @Override
+       public int hashCode() {
+               return name.hashCode();
+       }
+
 }