Interface FailureConditions.Builder

    • Method Detail

      • result

        FailureConditions.Builder result​(String result)

        The specified result for when the failure conditions are met, such as rolling back the stage.

        Parameters:
        result - The specified result for when the failure conditions are met, such as rolling back the stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Result, Result
      • result

        FailureConditions.Builder result​(Result result)

        The specified result for when the failure conditions are met, such as rolling back the stage.

        Parameters:
        result - The specified result for when the failure conditions are met, such as rolling back the stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Result, Result
      • retryConfiguration

        FailureConditions.Builder retryConfiguration​(RetryConfiguration retryConfiguration)

        The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.

        Parameters:
        retryConfiguration - The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conditions

        FailureConditions.Builder conditions​(Collection<Condition> conditions)

        The conditions that are configured as failure conditions.

        Parameters:
        conditions - The conditions that are configured as failure conditions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conditions

        FailureConditions.Builder conditions​(Condition... conditions)

        The conditions that are configured as failure conditions.

        Parameters:
        conditions - The conditions that are configured as failure conditions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.