]> git.argeo.org Git - gpl/argeo-slc.git/blob - ExecutionFlow.java
7f0ec89b9fcbf0f8e3d22170fa8a7d32cfc46ec5
[gpl/argeo-slc.git] / ExecutionFlow.java
1 package org.argeo.slc.execution;
2
3 public interface ExecutionFlow extends Runnable {
4 public Object getParameter(String key);
5
6 public Boolean isSetAsParameter(String key);
7
8 public ExecutionSpec getExecutionSpec();
9
10 public String getName();
11
12 public String getPath();
13
14 /**
15 * Actually performs the execution of the Runnable. This method should never
16 * be called directly. The implementation should provide a reasonable
17 * default, but it is meant to be intercepted either to analyze what is run
18 * or to override the default behavior.
19 */
20 public void doExecuteRunnable(Runnable runnable);
21 }