org.kuali.rice.krms.framework.engine
Interface Rule

All Known Implementing Classes:
BasicRule, FalseTriggeredRule, SubAgenda, ValidationRule

public interface Rule

A Rule evaluates a given ExecutionEnvironment, returning true if its conditions pass, false if they do not.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
RuleDefinitionContract, RuleDefinition

Method Summary
 boolean evaluate(ExecutionEnvironment environment)
          Evaluate a given ExecutionEnvironment, returning true if the rules conditions pass, false if they do not.
 

Method Detail

evaluate

boolean evaluate(ExecutionEnvironment environment)
Evaluate a given ExecutionEnvironment, returning true if the rules conditions pass, false if they do not.

Parameters:
environment - ExecutionEnvironment
Returns:
true if given ExecutionEnvironment the rule's conditions pass, false if they do not


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