Interface RuleVerdictExpression.Builder

    • Method Detail

      • evaluate

        RuleVerdictExpression.Builder evaluate​(RuleVerdictToEvaluate evaluate)

        The verdict to evaluate in a verdict condition expression.

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

        RuleVerdictExpression.Builder valuesWithStrings​(Collection<String> values)

        The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.

        Parameters:
        values - The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • valuesWithStrings

        RuleVerdictExpression.Builder valuesWithStrings​(String... values)

        The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.

        Parameters:
        values - The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        RuleVerdictExpression.Builder values​(Collection<RuleVerdict> values)

        The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.

        Parameters:
        values - The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        RuleVerdictExpression.Builder values​(RuleVerdict... values)

        The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.

        Parameters:
        values - The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.