]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlowDescriptor.java
Implementation of a first draft of editorView for the process parameters.
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / execution / ExecutionFlowDescriptor.java
index 6545727223989660a7886f1a9397954fff2c9648..d9a3e66574903db85a9e2f93fab95756b42e76d3 100644 (file)
@@ -19,6 +19,18 @@ package org.argeo.slc.execution;
 import java.io.Serializable;
 import java.util.Map;
 
+/**
+ * 
+ * @author bsinou
+ * 
+ *         This class implements the archetype of a given process.
+ * 
+ *         WARNING : for now both <code>values</code> and
+ *         <code>executionSpec</code> which are rundundant are used. Should be
+ *         improved in further version. Note also that a third redundant field,
+ *         <code>RealizedFlow.executionSpec</code> is also to be cleaned.
+ * 
+ */
 public class ExecutionFlowDescriptor implements Serializable {
        private static final long serialVersionUID = 7101944857038041216L;
        private String name;
@@ -89,4 +101,10 @@ public class ExecutionFlowDescriptor implements Serializable {
                return name.hashCode();
        }
 
+       @Override
+       public String toString() {
+               return (path != null && !path.trim().equals("") ? path + "/" : "")
+                               + name;
+       }
+
 }