org.kuali.rice.krms.framework.engine
Class FalseTriggeredRule

java.lang.Object
  extended by org.kuali.rice.krms.framework.engine.BasicRule
      extended by org.kuali.rice.krms.framework.engine.FalseTriggeredRule
All Implemented Interfaces:
Rule

public class FalseTriggeredRule
extends BasicRule

A BasicRule that executes its Action when evaluation is false.


Constructor Summary
FalseTriggeredRule(Proposition proposition, List<Action> actions)
           
 
Method Summary
protected  boolean shouldExecuteAction(boolean ruleExecutionResult)
          Based on the ruleExecutionResult should the Action be executed? Default behavior is to return the given ruleExecutionResult.
 
Methods inherited from class org.kuali.rice.krms.framework.engine.BasicRule
evaluate, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FalseTriggeredRule

public FalseTriggeredRule(Proposition proposition,
                          List<Action> actions)
Parameters:
proposition -
actions -
Method Detail

shouldExecuteAction

protected boolean shouldExecuteAction(boolean ruleExecutionResult)
Description copied from class: BasicRule
Based on the ruleExecutionResult should the Action be executed? Default behavior is to return the given ruleExecutionResult. Over-writable by subclasses.

Overrides:
shouldExecuteAction in class BasicRule
Parameters:
ruleExecutionResult - the result of the engines evaluation method.
Returns:
boolean should the action execute


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.