public class ValidationRule extends BasicRule
Rule that executes a Action when the Proposition is false,
 as opposed to BasicRule which executes its action when the proposition is true.| Constructor and Description | 
|---|
| ValidationRule(ValidationRuleType type,
              String name,
              Proposition proposition,
              List<Action> actions) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | shouldExecuteAction(boolean ruleExecutionResult)Valid Validation Rules execute when the ruleExecutionResult is false. | 
public ValidationRule(ValidationRuleType type, String name, Proposition proposition, List<Action> actions)
type - ValidationRuleTypename - Rule nameproposition - Propositionactions - Rule ActionsIllegalArgumentException - if type is nullprotected boolean shouldExecuteAction(boolean ruleExecutionResult)
shouldExecuteAction in class BasicRuleruleExecutionResult - result of the rules executionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.