]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionModulesManager.java
Start new SLC project structure
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / execution / ExecutionModulesManager.java
index 3f927a345e9027d33be59b6d463ccee6863c47ee..06681747a8e2e3be3d4cfb39f0939236a7ffad72 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ * Copyright (C) 2007-2012 Argeo GmbH
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.argeo.slc.execution;
 
 import java.util.List;
-import java.util.Map;
 
 import org.argeo.slc.deploy.ModulesManager;
-import org.argeo.slc.process.RealizedFlow;
 
 /** Provides access to the execution modules */
 public interface ExecutionModulesManager extends ModulesManager {
        /** Used to filter event notified to an execution notifier. */
        public static String SLC_PROCESS_ID = "slc.process.id";
 
+       /** Unique launch module */
+       public static String UNIQUE_LAUNCH_MODULE_PROPERTY = "slc.launch.module";
+
+       /** Unique launch flow */
+       public static String UNIQUE_LAUNCH_FLOW_PROPERTY = "slc.launch.flow";
+
        /** @return a full fledged module descriptor. */
        public ExecutionModuleDescriptor getExecutionModuleDescriptor(
                        String moduleName, String version);
@@ -40,22 +43,22 @@ public interface ExecutionModulesManager extends ModulesManager {
        /** 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 dispatchAddSteps(ExecutionProcess process,
-                       List<ExecutionStep> steps);
-
-       /**
-        * Register a notifier which will be notified based on the provided
-        * properties.
-        */
-       public void registerProcessNotifier(ExecutionProcessNotifier notifier,
-                       Map<String, String> properties);
-
-       /** Unregisters a notifier */
-       public void unregisterProcessNotifier(ExecutionProcessNotifier notifier,
-                       Map<String, String> properties);
+       // /** 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 dispatchAddSteps(ExecutionProcess process,
+       // List<ExecutionStep> steps);
+       //
+       // /**
+       // * Register a notifier which will be notified based on the provided
+       // * properties.
+       // */
+       // public void registerProcessNotifier(ExecutionProcessNotifier notifier,
+       // Map<String, String> properties);
+       //
+       // /** Unregisters a notifier */
+       // public void unregisterProcessNotifier(ExecutionProcessNotifier notifier,
+       // Map<String, String> properties);
 }