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=a68606a294c385023ce79006984ce442eb8eb720;hb=5fcacdb600e4c9e765cb93b46132932662832c1b;hp=187c3658966c29789fae23376c88af8ac34c7c0b;hpb=8087a9e924628f219c74e789a1765644fc6fbab0;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 187c36589..a68606a29 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 @@ -21,27 +21,24 @@ import java.util.Map; /** * - * Implements both archetype and implementation of a given - * process. + * Implements both archetype and implementation of a given process. * - * At specification time, executionSpec represents the spec - * of the parameters accepted by the process, with, among others: type, - * default value and, optionally, possible values for each parameter. Thus - * ExecutionSpec might be a huge object. Note that when marshalling only - * a reference to a specific ExecutionSpec is stored in the XML to - * optimize performance and avoid redundancy between various - * ExecutionFlowDesciptor that might have the same ExecutionSpec. - * - * At runtime, we build a RealizedFlow which references an - * ExecutionFlowDescriptor. As it happens AFTER marshalling / - * unmarshalling process, the ExecutionSpec is null but we manage to - * retrieve the ExecutionSpec and store it in the RealizedFlow, whereas - * set values of the parameters are stored in the values - * map. - * - * @author bsinou + * At specification time, executionSpec represents the spec of the + * parameters accepted by the process, with, among others: type, default value + * and, optionally, possible values for each parameter. Thus ExecutionSpec might + * be a huge object. Note that when marshalling only a reference to a specific + * ExecutionSpec is stored in the XML to optimize performance and avoid + * redundancy between various ExecutionFlowDesciptor that might have the same + * ExecutionSpec. * + * At runtime, we build a RealizedFlow which references an + * ExecutionFlowDescriptor. As it happens AFTER marshalling / unmarshalling + * process, the ExecutionSpec is null but we manage to retrieve the + * ExecutionSpec and store it in the RealizedFlow, whereas set values of the + * parameters are stored in the values map. * + * Generally, values object are either a PrimitiveAccessor or a + * RefValue but can be other objects. */ public class ExecutionFlowDescriptor implements Serializable { private static final long serialVersionUID = 7101944857038041216L; @@ -65,10 +62,18 @@ public class ExecutionFlowDescriptor implements Serializable { return name; } + /** + * @deprecated will be removed in SLC 2.x, the path should be the part of + * the name with '/' + */ public String getPath() { return path; } + /** + * @deprecated will be removed in SLC 2.0, the path should be the part of + * the name with '/' + */ public void setPath(String path) { this.path = path; }