Interface Operator

All Known Implementing Classes:
AndOperator, ComparisonOperator, ContainsOperator, EqualsOperator, GreaterEqualOperator, GreaterThanOperator, InOperator, LessEqualOperator, LessThanOperator, LogicOperator, NotContainsOperator, NotEqualsOperator, OrOperator, RegexOperator

public interface Operator
  • Method Details

    • getOperator

      OperatorEnum getOperator()
    • validate

      ValidationResult validate()
      Validates the operator(-chain).
      Returns:
      A ValidationResult that describes the result of the validation.
    • evaluate

      EvaluationResult evaluate(String json)
      Evaluates a given JSON-payload against the operator(-chain).
      Parameters:
      json - The JSON-payload that should be evaluated.
      Returns:
      A EvaluationResult that describes the result of the evaluation.