X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fexecution%2FExecutionModulesManager.java;h=4400a18f2fe62000aa796afa7966aabb56618359;hb=a181e3d059185a9dc108e81f38c66f48f4e4aac8;hp=26890ad05a8c1870dce466c7d4cdf8863c140b1c;hpb=e9e32f3294118e8289ca21034a7bd799ec91048d;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionModulesManager.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionModulesManager.java index 26890ad05..4400a18f2 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionModulesManager.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionModulesManager.java @@ -20,7 +20,6 @@ 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 */ @@ -35,19 +34,16 @@ public interface ExecutionModulesManager extends ModulesManager { */ public List listExecutionModules(); - /** 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, + /** 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 SlcExecution} */ - public void dispatchAddStep(SlcExecution slcExecution, SlcExecutionStep step); + /** Notify that a step was added in an {@link ExecutionProcess} */ + public void dispatchAddStep(ExecutionProcess process, SlcExecutionStep step); }