]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/ExecutionFlow.java
Remove flow path
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / execution / ExecutionFlow.java
index b27f4efc1328f6ea595666ad906298b4d15ff4b5..387e5eac14f1592fb4793f05fae95fa3e2ec2fcc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ * Copyright (C) 2007-2012 Mathieu Baudier
  *
  * 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;
 
+/** Abstraction of an execution that can be identified and configured. */
 public interface ExecutionFlow extends Runnable {
+       /** Retrieve an immutable parameter */
        public Object getParameter(String key);
 
+       /** Whether this immutable parameter is set */
        public Boolean isSetAsParameter(String key);
 
+       /** The specifications of the execution flow. */
        public ExecutionSpec getExecutionSpec();
 
-       public String getName();
-
-       public String getPath();
-
        /**
-        * Actually performs the execution of the Runnable. This method should never
-        * be called directly. The implementation should provide a reasonable
-        * default, but it is meant to be intercepted either to analyze what is run
-        * or to override the default behavior.
+        * The name of this execution flow. Can contains '/' which will be
+        * interpreted by UIs as a hierarchy;
         */
-       public void doExecuteRunnable(Runnable runnable);
+       public String getName();
 }