Class FailureDetails

    • Constructor Detail

      • FailureDetails

        public FailureDetails()
    • Method Detail

      • setType

        public void setType​(String type)

        The type of the failure.

        Parameters:
        type - The type of the failure.
        See Also:
        FailureType
      • getType

        public String getType()

        The type of the failure.

        Returns:
        The type of the failure.
        See Also:
        FailureType
      • withType

        public FailureDetails withType​(String type)

        The type of the failure.

        Parameters:
        type - The type of the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FailureType
      • setType

        public void setType​(FailureType type)

        The type of the failure.

        Parameters:
        type - The type of the failure.
        See Also:
        FailureType
      • withType

        public FailureDetails withType​(FailureType type)

        The type of the failure.

        Parameters:
        type - The type of the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FailureType
      • setMessage

        public void setMessage​(String message)

        The message about the failure.

        Parameters:
        message - The message about the failure.
      • getMessage

        public String getMessage()

        The message about the failure.

        Returns:
        The message about the failure.
      • withMessage

        public FailureDetails withMessage​(String message)

        The message about the failure.

        Parameters:
        message - The message about the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExternalExecutionId

        public void setExternalExecutionId​(String externalExecutionId)

        The external ID of the run of the action that failed.

        Parameters:
        externalExecutionId - The external ID of the run of the action that failed.
      • getExternalExecutionId

        public String getExternalExecutionId()

        The external ID of the run of the action that failed.

        Returns:
        The external ID of the run of the action that failed.
      • withExternalExecutionId

        public FailureDetails withExternalExecutionId​(String externalExecutionId)

        The external ID of the run of the action that failed.

        Parameters:
        externalExecutionId - The external ID of the run of the action that failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object