import java.util.List;
+import org.argeo.slc.execution.ExecutionFlowDescriptor;
import org.argeo.slc.execution.ExecutionModule;
-import org.argeo.slc.process.SlcExecution;
import org.eclipse.osgi.framework.console.CommandInterpreter;
import org.eclipse.osgi.framework.console.CommandProvider;
String moduleName = ci.nextArgument();
String executionName = ci.nextArgument();
- SlcExecution slcExecution = new SlcExecution();
- slcExecution.getAttributes().put("slc.flows", executionName);
-
ExecutionModule module = null;
for (ExecutionModule moduleT : executionModules) {
if(moduleT.getName().equals(moduleName)){
}
}
+ ExecutionFlowDescriptor descriptor = new ExecutionFlowDescriptor();
+ descriptor.setName(executionName);
if(module!=null)
- module.execute(slcExecution);
+ module.execute(descriptor);
return null;
}