]> git.argeo.org Git - gpl/argeo-slc.git/blob - sandbox/argeo.slc.executionflow/src/main/java/org/argeo/slc/executionflow/ExecutionFlowFactory.java
Introduce validation
[gpl/argeo-slc.git] / sandbox / argeo.slc.executionflow / src / main / java / org / argeo / slc / executionflow / ExecutionFlowFactory.java
1 package org.argeo.slc.executionflow;
2
3 import java.util.ArrayList;
4 import java.util.List;
5 import java.util.Map;
6
7 import org.argeo.slc.process.Executable;
8
9 public class ExecutionFlowFactory {
10 private List<Executable> executables = new ArrayList<Executable>();
11
12
13 public ExecutionFlow createExecutionFlow(Map<String, Object> attributes){
14 SimpleExecutionFlow executionFlow = new SimpleExecutionFlow();
15 executionFlow.setExecutables(executables);
16 return executionFlow;
17 }
18
19
20 public void setExecutables(List<Executable> executables) {
21 this.executables = executables;
22 }
23
24
25 }