public ExecutionSpec getExecutionSpec();
public String getName();
+
+ public String getPath();
}
public class ExecutionFlowDescriptor {
private String name;
+ private String path;
private Map<String, Object> values;
private ExecutionSpec executionSpec;
return name;
}
+ public String getPath() {
+ return path;
+ }
+
+ public void setPath(String path) {
+ this.path = path;
+ }
+
public Map<String, Object> getValues() {
return values;
}
<field name="name" identity="true">\r
<bind-xml name="name" node="attribute" />\r
</field>\r
+ <field name="path">\r
+ <bind-xml name="path" node="attribute" />\r
+ </field>\r
<field name="executionSpec">\r
<bind-xml name="executionSpec" node="attribute" reference="true" />\r
</field>\r
ExecutionFlowDescriptor efd = new ExecutionFlowDescriptor(name,
values, executionSpec);
+ if (executionFlow.getPath() != null)
+ efd.setPath(executionFlow.getPath());
// Add execution spec if necessary
if (!md.getExecutionSpecs().contains(executionSpec))
public boolean equals(Object obj) {
return ((ExecutionFlow) obj).getName().equals(name);
}
+
+ public String getPath() {
+ return path;
+ }
+
+
}