Interface EvaluatedRule.Builder

  • Method Details

    • ruleId

      EvaluatedRule.Builder ruleId(String ruleId)

      The rule ID.

      Parameters:
      ruleId - The rule ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleVersion

      EvaluatedRule.Builder ruleVersion(String ruleVersion)

      The rule version.

      Parameters:
      ruleVersion - The rule version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expression

      EvaluatedRule.Builder expression(String expression)

      The rule expression.

      Parameters:
      expression - The rule expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expressionWithValues

      EvaluatedRule.Builder expressionWithValues(String expressionWithValues)

      The rule expression value.

      Parameters:
      expressionWithValues - The rule expression value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outcomes

      The rule outcome.

      Parameters:
      outcomes - The rule outcome.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outcomes

      EvaluatedRule.Builder outcomes(String... outcomes)

      The rule outcome.

      Parameters:
      outcomes - The rule outcome.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluated

      EvaluatedRule.Builder evaluated(Boolean evaluated)

      Indicates whether the rule was evaluated.

      Parameters:
      evaluated - Indicates whether the rule was evaluated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matched

      EvaluatedRule.Builder matched(Boolean matched)

      Indicates whether the rule matched.

      Parameters:
      matched - Indicates whether the rule matched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.