Class FailureReason

java.lang.Object
io.airbyte.configoss.FailureReason
All Implemented Interfaces:
Serializable

public class FailureReason extends Object implements Serializable
FailureSummary

See Also:
  • Constructor Details

    • FailureReason

      public FailureReason()
  • Method Details

    • getFailureOrigin

      public FailureReason.FailureOrigin getFailureOrigin()
      Indicates where the error originated. If not set, the origin of error is not well known.
    • setFailureOrigin

      public void setFailureOrigin(FailureReason.FailureOrigin failureOrigin)
      Indicates where the error originated. If not set, the origin of error is not well known.
    • withFailureOrigin

      public FailureReason withFailureOrigin(FailureReason.FailureOrigin failureOrigin)
    • getFailureType

      public FailureReason.FailureType getFailureType()
      Categorizes well known errors into types for programmatic handling. If not set, the type of error is not well known.
    • setFailureType

      public void setFailureType(FailureReason.FailureType failureType)
      Categorizes well known errors into types for programmatic handling. If not set, the type of error is not well known.
    • withFailureType

      public FailureReason withFailureType(FailureReason.FailureType failureType)
    • getInternalMessage

      public String getInternalMessage()
      Human readable failure description for consumption by technical system operators, like Airbyte engineers or OSS users.
    • setInternalMessage

      public void setInternalMessage(String internalMessage)
      Human readable failure description for consumption by technical system operators, like Airbyte engineers or OSS users.
    • withInternalMessage

      public FailureReason withInternalMessage(String internalMessage)
    • getExternalMessage

      public String getExternalMessage()
      Human readable failure description for presentation in the UI to non-technical users.
    • setExternalMessage

      public void setExternalMessage(String externalMessage)
      Human readable failure description for presentation in the UI to non-technical users.
    • withExternalMessage

      public FailureReason withExternalMessage(String externalMessage)
    • getMetadata

      public Metadata getMetadata()
      Key-value pairs of relevant data
    • setMetadata

      public void setMetadata(Metadata metadata)
      Key-value pairs of relevant data
    • withMetadata

      public FailureReason withMetadata(Metadata metadata)
    • getStacktrace

      public String getStacktrace()
      Raw stacktrace associated with the failure.
    • setStacktrace

      public void setStacktrace(String stacktrace)
      Raw stacktrace associated with the failure.
    • withStacktrace

      public FailureReason withStacktrace(String stacktrace)
    • getRetryable

      public Boolean getRetryable()
      True if it is known that retrying may succeed, e.g. for a transient failure. False if it is known that a retry will not succeed, e.g. for a configuration issue. If not set, retryable status is not well known.
    • setRetryable

      public void setRetryable(Boolean retryable)
      True if it is known that retrying may succeed, e.g. for a transient failure. False if it is known that a retry will not succeed, e.g. for a configuration issue. If not set, retryable status is not well known.
    • withRetryable

      public FailureReason withRetryable(Boolean retryable)
    • getTimestamp

      public Long getTimestamp()
      (Required)
    • setTimestamp

      public void setTimestamp(Long timestamp)
      (Required)
    • withTimestamp

      public FailureReason withTimestamp(Long timestamp)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object