public class ScriptableCondition extends Object implements IConditionalExecution
Constructor and Description |
---|
ScriptableCondition() |
Modifier and Type | Method and Description |
---|---|
boolean |
getDefaultResult() |
boolean |
getIgnoreInputNamesWithMinus() |
String |
getScript() |
String |
getScriptLanguage() |
void |
setDefaultResult(boolean value) |
void |
setIgnoreInputNamesWithMinus(boolean value) |
void |
setListAvailableEngines(boolean value) |
void |
setScript(String script) |
void |
setScriptLanguage(String value) |
boolean |
shouldExecute(Map currentInputs,
org.apache.commons.logging.Log logger) |
public String getScript()
getScript
in interface IConditionalExecution
public void setScript(String script)
setScript
in interface IConditionalExecution
public void setScriptLanguage(String value)
public void setDefaultResult(boolean value)
public boolean getDefaultResult()
public String getScriptLanguage()
public void setIgnoreInputNamesWithMinus(boolean value)
public boolean getIgnoreInputNamesWithMinus()
public void setListAvailableEngines(boolean value)
public boolean shouldExecute(Map currentInputs, org.apache.commons.logging.Log logger) throws Exception
shouldExecute
in interface IConditionalExecution
Exception
Copyright © 2017 Hitachi Vantara. All rights reserved.