Interface RuleResult.Builder

  • Method Details

    • ruleId

      RuleResult.Builder ruleId(String ruleId)

      The rule ID that was matched, based on the rule execution mode.

      Parameters:
      ruleId - The rule ID that was matched, based on the rule execution mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outcomes

      RuleResult.Builder outcomes(Collection<String> outcomes)

      The outcomes of the matched rule, based on the rule execution mode.

      Parameters:
      outcomes - The outcomes of the matched rule, based on the rule execution mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outcomes

      RuleResult.Builder outcomes(String... outcomes)

      The outcomes of the matched rule, based on the rule execution mode.

      Parameters:
      outcomes - The outcomes of the matched rule, based on the rule execution mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.