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 Type
    Method
    Description
    boolean
    Evaluate a given ExecutionEnvironment, returning true if the rules conditions pass, false if they do not.
  • Method Details

    • 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