Class ScriptableCondition
java.lang.Object
org.pentaho.platform.plugin.condition.scriptable.ScriptableCondition
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IConditionalExecution
public class ScriptableCondition
extends Object
implements org.pentaho.platform.api.engine.IConditionalExecution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setDefaultResult
(boolean value) void
setIgnoreInputNamesWithMinus
(boolean value) void
setListAvailableEngines
(boolean value) void
void
setScriptLanguage
(String value) boolean
shouldExecute
(Map currentInputs, org.apache.commons.logging.Log logger)
-
Constructor Details
-
ScriptableCondition
public ScriptableCondition()
-
-
Method Details
-
getScript
- Specified by:
getScript
in interfaceorg.pentaho.platform.api.engine.IConditionalExecution
-
setScript
- Specified by:
setScript
in interfaceorg.pentaho.platform.api.engine.IConditionalExecution
-
setScriptLanguage
-
setDefaultResult
public void setDefaultResult(boolean value) -
getDefaultResult
public boolean getDefaultResult() -
getScriptLanguage
-
setIgnoreInputNamesWithMinus
public void setIgnoreInputNamesWithMinus(boolean value) -
getIgnoreInputNamesWithMinus
public boolean getIgnoreInputNamesWithMinus() -
setListAvailableEngines
public void setListAvailableEngines(boolean value) -
shouldExecute
public boolean shouldExecute(Map currentInputs, org.apache.commons.logging.Log logger) throws Exception - Specified by:
shouldExecute
in interfaceorg.pentaho.platform.api.engine.IConditionalExecution
- Throws:
Exception
-