Interface Rule
- All Known Implementing Classes:
BasicRule,FalseTriggeredRule,SubAgenda
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:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(ExecutionEnvironment environment) Evaluate a givenExecutionEnvironment, returning true if the rules conditions pass, false if they do not.
-
Method Details
-
evaluate
Evaluate a givenExecutionEnvironment, returning true if the rules conditions pass, false if they do not.- Parameters:
environment- ExecutionEnvironment- Returns:
- true if given
ExecutionEnvironmentthe rule's conditions pass, false if they do not
-