org.pentaho.platform.plugin.condition.javascript
Class ConditionalExecution

java.lang.Object
  extended by org.pentaho.platform.plugin.condition.javascript.ConditionalExecution
All Implemented Interfaces:
IConditionalExecution

public class ConditionalExecution
extends Object
implements IConditionalExecution


Constructor Summary
ConditionalExecution()
           
 
Method Summary
 String getScript()
           
 void setScript(String script)
           
 boolean shouldExecute(Map currentInputs, Log logger)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalExecution

public ConditionalExecution()
Method Detail

getScript

public String getScript()
Specified by:
getScript in interface IConditionalExecution

setScript

public void setScript(String script)
Specified by:
setScript in interface IConditionalExecution

shouldExecute

public boolean shouldExecute(Map currentInputs,
                             Log logger)
                      throws Exception
Specified by:
shouldExecute in interface IConditionalExecution
Throws:
Exception