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