X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=inline;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fexecution%2FExecutionFlowDescriptor.java;h=d9a3e66574903db85a9e2f93fab95756b42e76d3;hb=5d91de89b70a4ba96cd4d37c4fcc991118faf685;hp=6545727223989660a7886f1a9397954fff2c9648;hpb=0bcca59c19e554f94ec03af0dc7c44047a2eade7;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 654572722..d9a3e6657 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
@@ -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 values
and
+ * executionSpec
which are rundundant are used. Should be
+ * improved in further version. Note also that a third redundant field,
+ * RealizedFlow.executionSpec
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;
+ }
+
}