Class ExpressionValidator

java.lang.Object
com.aquima.interactions.rule.graph.ValidationRuleBase
com.aquima.interactions.rule.graph.ExpressionValidator
All Implemented Interfaces:
IBusinessRule, IValidationRule, Serializable

public class ExpressionValidator extends ValidationRuleBase
Validation rule implementation that uses an expression to check if a value (or combination of values) is valid.
Since:
7.1
Author:
O. Kerpershoek
See Also:
  • Constructor Details

  • Method Details

    • validateWith

      public boolean validateWith(InferenceContext context)
      Description copied from interface: IValidationRule
      This method performs the actual validation, and returns a boolean indicating if the validation has succeeded. A return value of false means the object validated is not valid, where as a return value of true means that the object has passed the validation. This method is invoked after (all) the values have been updated in the profile.
      Parameters:
      context - InferenceContext
      Returns:
      boolean indicating if the validation was successful