Interface RuleStringExpression.Builder

    • Method Detail

      • evaluate

        RuleStringExpression.Builder evaluate​(RuleStringToEvaluate evaluate)

        The string to evaluate in a string condition expression.

        Parameters:
        evaluate - The string to evaluate in a string condition expression.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        RuleStringExpression.Builder values​(Collection<String> values)

        The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.

        Parameters:
        values - The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        RuleStringExpression.Builder values​(String... values)

        The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.

        Parameters:
        values - The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.