]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionModulesManager.java
Improve execution
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / execution / ExecutionModulesManager.java
index c1b9e47a3255714bd527e6823f6ddded53985063..26890ad05a8c1870dce466c7d4cdf8863c140b1c 100644 (file)
@@ -21,6 +21,7 @@ import java.util.List;
 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 {
@@ -34,9 +35,19 @@ public interface ExecutionModulesManager extends ModulesManager {
         */
        public List<ExecutionModuleDescriptor> listExecutionModules();
 
-       /** Asynchronously prepare and executes an {@link SlcExecution} */
+       /** Asynchronously prepares 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 SlcExecution} */
+       public void dispatchUpdateStatus(SlcExecution slcExecution,
+                       String oldStatus, String newStatus);
+
+       /** Notify that a step was added in an {@link SlcExecution} */
+       public void dispatchAddStep(SlcExecution slcExecution, SlcExecutionStep step);
 }