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

java.lang.Object
  extended by org.kuali.rice.krms.framework.engine.BasicRule
All Implemented Interfaces:
Rule
Direct Known Subclasses:
FalseTriggeredRule, ValidationRule

public class BasicRule
extends Object
implements Rule


Constructor Summary
BasicRule(Proposition proposition, List<Action> actions)
           
BasicRule(String name, Proposition proposition, List<Action> actions)
           
 
Method Summary
 boolean evaluate(ExecutionEnvironment environment)
           
 String getName()
           
protected  boolean shouldExecuteAction(boolean ruleExecutionResult)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicRule

public BasicRule(String name,
                 Proposition proposition,
                 List<Action> actions)

BasicRule

public BasicRule(Proposition proposition,
                 List<Action> actions)
Method Detail

evaluate

public boolean evaluate(ExecutionEnvironment environment)
Specified by:
evaluate in interface Rule

shouldExecuteAction

protected boolean shouldExecuteAction(boolean ruleExecutionResult)

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object


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