public class FailureDetails
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about failure details.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
externalExecutionId
The external ID of the run of the action that failed.
|
private java.lang.String |
message
The message about the failure.
|
private java.lang.String |
type
The type of the failure.
|
Constructor and Description |
---|
FailureDetails() |
Modifier and Type | Method and Description |
---|---|
FailureDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getExternalExecutionId()
The external ID of the run of the action that failed.
|
java.lang.String |
getMessage()
The message about the failure.
|
java.lang.String |
getType()
The type of the failure.
|
int |
hashCode() |
void |
setExternalExecutionId(java.lang.String externalExecutionId)
The external ID of the run of the action that failed.
|
void |
setMessage(java.lang.String message)
The message about the failure.
|
void |
setType(FailureType type)
The type of the failure.
|
void |
setType(java.lang.String type)
The type of the failure.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FailureDetails |
withExternalExecutionId(java.lang.String externalExecutionId)
The external ID of the run of the action that failed.
|
FailureDetails |
withMessage(java.lang.String message)
The message about the failure.
|
FailureDetails |
withType(FailureType type)
The type of the failure.
|
FailureDetails |
withType(java.lang.String type)
The type of the failure.
|
private java.lang.String type
The type of the failure.
private java.lang.String message
The message about the failure.
private java.lang.String externalExecutionId
The external ID of the run of the action that failed.
public void setType(java.lang.String type)
The type of the failure.
type
- The type of the failure.FailureType
public java.lang.String getType()
The type of the failure.
FailureType
public FailureDetails withType(java.lang.String type)
The type of the failure.
type
- The type of the failure.FailureType
public void setType(FailureType type)
The type of the failure.
type
- The type of the failure.FailureType
public FailureDetails withType(FailureType type)
The type of the failure.
type
- The type of the failure.FailureType
public void setMessage(java.lang.String message)
The message about the failure.
message
- The message about the failure.public java.lang.String getMessage()
The message about the failure.
public FailureDetails withMessage(java.lang.String message)
The message about the failure.
message
- The message about the failure.public void setExternalExecutionId(java.lang.String externalExecutionId)
The external ID of the run of the action that failed.
externalExecutionId
- The external ID of the run of the action that failed.public java.lang.String getExternalExecutionId()
The external ID of the run of the action that failed.
public FailureDetails withExternalExecutionId(java.lang.String externalExecutionId)
The external ID of the run of the action that failed.
externalExecutionId
- The external ID of the run of the action that failed.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FailureDetails clone()
clone
in class java.lang.Object