Package org.kuali.rice.kew.rule
Interface RuleValidationAttribute
public interface RuleValidationAttribute
A simple interface for handling validation of rules. Validation results are returned in a
ValidationResults object which consists of a series of error messages regarding the
rule. The user who is adding or editing the rule is passed to validate as well as the
rule to be validated.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.kew.api.validation.ValidationResultsvalidate(org.kuali.rice.kew.api.validation.RuleValidationContext validationContext) Validates the rule within the given RuleValidationContext.
-
Method Details
-
validate
org.kuali.rice.kew.api.validation.ValidationResults validate(org.kuali.rice.kew.api.validation.RuleValidationContext validationContext) Validates the rule within the given RuleValidationContext.- Returns:
- a ValidationResults object representing the results of the validation, if this is
empty or
nullthis signifies that validation was successful.
-