import org.argeo.slc.execution.ExecutionStep;
import org.argeo.slc.execution.RealizedFlow;
+/** Canonical implementation of an {@link ExecutionProcess} as a bean. */
public class DefaultProcess implements ExecutionProcess {
private String uuid = UUID.randomUUID().toString();
- private String status;
+ private String status = ExecutionProcess.NEW;
private List<ExecutionStep> steps = new ArrayList<ExecutionStep>();
+ private List<RealizedFlow> realizedFlows = new ArrayList<RealizedFlow>();
public String getUuid() {
return uuid;
}
public List<RealizedFlow> getRealizedFlows() {
- // TODO Auto-generated method stub
- return null;
+ return realizedFlows;
+ }
+
+ public List<ExecutionStep> getSteps() {
+ return steps;
+ }
+
+ public void setSteps(List<ExecutionStep> steps) {
+ this.steps = steps;
+ }
+
+ public void setUuid(String uuid) {
+ this.uuid = uuid;
+ }
+
+ public void setRealizedFlows(List<RealizedFlow> realizedFlows) {
+ this.realizedFlows = realizedFlows;
}
}