Interface AutomatedReasoningPolicyScenario.Builder

  • Method Details

    • expression

      The logical expression or condition that defines this test scenario.

      Parameters:
      expression - The logical expression or condition that defines this test scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alternateExpression

      AutomatedReasoningPolicyScenario.Builder alternateExpression(String alternateExpression)

      An alternative way to express the same test scenario, used for validation and comparison purposes.

      Parameters:
      alternateExpression - An alternative way to express the same test scenario, used for validation and comparison purposes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleIds

      The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.

      Parameters:
      ruleIds - The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleIds

      The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.

      Parameters:
      ruleIds - The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedResult

      AutomatedReasoningPolicyScenario.Builder expectedResult(String expectedResult)

      The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).

      Parameters:
      expectedResult - The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expectedResult

      The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).

      Parameters:
      expectedResult - The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: