import org.argeo.slc.deploy.ModulesManager;
import org.argeo.slc.process.RealizedFlow;
-import org.argeo.slc.process.SlcExecution;
+import org.argeo.slc.process.SlcExecutionStep;
/** Provides access to the execution modules */
public interface ExecutionModulesManager extends ModulesManager {
*/
public List<ExecutionModuleDescriptor> listExecutionModules();
- /** Asynchronously prepare and executes an {@link SlcExecution} */
- public void process(SlcExecution slcExecution);
+ /** The thread group to which all process threads will belong. */
+ public ThreadGroup getProcessesThreadGroup();
/** Synchronously finds and executes an {@link ExecutionFlow}. */
public void execute(RealizedFlow realizedFlow);
+
+ /** Notify of a status update status of the {@link ExecutionProcess} */
+ public void dispatchUpdateStatus(ExecutionProcess process,
+ String oldStatus, String newStatus);
+
+ /** Notify that a step was added in an {@link ExecutionProcess} */
+ public void dispatchAddStep(ExecutionProcess process, SlcExecutionStep step);
}