X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fexecution%2FExecutionFlowDescriptor.java;h=89f0eac94b0dfb7b7bbc0532cd3f87a6743a3e6d;hb=3ea3d9907de6c0401e596c1f19f0fd197daaf0c1;hp=54895428cef2af3f80a78a8071ee03f1e4206f15;hpb=1b19cac6a92c31d9119fc2986e7aaf3df98b2393;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java index 54895428c..89f0eac94 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java @@ -4,6 +4,8 @@ import java.util.Map; public class ExecutionFlowDescriptor { private String name; + private String description; + private String path; private Map 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 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(); + } + }