public interface IConditionalExecution
Modifier and Type | Method and Description |
---|---|
String |
getScript() |
void |
setScript(String script)
Sets the script that will be executed in shouldExecute to evaluate condition
|
boolean |
shouldExecute(Map currentInputs,
org.apache.commons.logging.Log logger)
Uses current inputs, and the set script to "decide" whether to execute the current block of actions.
|
String getScript()
void setScript(String script)
script
- boolean shouldExecute(Map currentInputs, org.apache.commons.logging.Log logger) throws Exception
currentInputs
- logger
- Exception