Interface Condition.Builder

    • Method Detail

      • result

        Condition.Builder result​(String result)

        The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

        Parameters:
        result - The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Result, Result
      • result

        Condition.Builder result​(Result result)

        The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

        Parameters:
        result - The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Result, Result
      • rules

        Condition.Builder rules​(Collection<RuleDeclaration> rules)

        The rules that make up the condition.

        Parameters:
        rules - The rules that make up the condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        Condition.Builder rules​(RuleDeclaration... rules)

        The rules that make up the condition.

        Parameters:
        rules - The rules that make up the condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.