org.kuali.rice.krms.framework.engine
Class FalseTriggeredRule
java.lang.Object
org.kuali.rice.krms.framework.engine.BasicRule
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.
Method Summary |
protected boolean |
shouldExecuteAction(boolean ruleExecutionResult)
Based on the ruleExecutionResult should the Action be executed? Default behavior is to return the given ruleExecutionResult. |
FalseTriggeredRule
public FalseTriggeredRule(Proposition proposition,
List<Action> actions)
- Parameters:
proposition
- actions
-
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-2013 The Kuali Foundation. All Rights Reserved.