org.pentaho.di.trans.steps.rules
Class RulesData

java.lang.Object
  extended by org.pentaho.di.trans.step.BaseStepData
      extended by org.pentaho.di.trans.steps.rules.RulesData
All Implemented Interfaces:
StepDataInterface

public class RulesData
extends BaseStepData
implements StepDataInterface

This Transformation Step allows a user to execute a rule set against an individual rule or a collection of rules. Additional columns can be added to the output from the rules and these (of course) can be used for routing if desired.

Author:
cboyden

Nested Class Summary
 
Nested classes/interfaces inherited from class org.pentaho.di.trans.step.BaseStepData
BaseStepData.StepExecutionStatus
 
Constructor Summary
RulesData()
           
 
Method Summary
 void execute()
           
 Object fetchResult(String columnName)
           
 RowMetaInterface getOutputRowMeta()
           
 String getRuleFilePath()
           
 String getRuleString()
           
 void initializeColumns(RowMetaInterface inputRowMeta)
           
 void initializeRules()
           
 void loadRow(Object[] r)
           
 void setOutputRowMeta(RowMetaInterface outputRowMeta)
           
 void setRuleFilePath(String ruleFilePath)
           
 void setRuleString(String ruleString)
           
 void shutdown()
           
 
Methods inherited from class org.pentaho.di.trans.step.BaseStepData
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, isStopped, setStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.di.trans.step.StepDataInterface
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, setStatus
 

Constructor Detail

RulesData

public RulesData()
Method Detail

getRuleString

public String getRuleString()

setRuleString

public void setRuleString(String ruleString)

getRuleFilePath

public String getRuleFilePath()

setRuleFilePath

public void setRuleFilePath(String ruleFilePath)

setOutputRowMeta

public void setOutputRowMeta(RowMetaInterface outputRowMeta)

getOutputRowMeta

public RowMetaInterface getOutputRowMeta()

initializeRules

public void initializeRules()

initializeColumns

public void initializeColumns(RowMetaInterface inputRowMeta)

loadRow

public void loadRow(Object[] r)

execute

public void execute()

fetchResult

public Object fetchResult(String columnName)
Parameters:
columnName - Column.payload associated with the result, or null if not found
Returns:

shutdown

public void shutdown()