Class ChildWorkflowExecutionFailedEventAttributes
- All Implemented Interfaces:
Serializable,Cloneable
Provides details of the ChildWorkflowExecutionFailed event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe details of the failure (if provided).The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.The reason for the failure (if provided).The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.The child workflow execution that failed.The type of the child workflow execution.inthashCode()voidsetDetails(String details) The details of the failure (if provided).voidsetInitiatedEventId(Long initiatedEventId) The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.voidThe reason for the failure (if provided).voidsetStartedEventId(Long startedEventId) The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.voidsetWorkflowExecution(WorkflowExecution workflowExecution) The child workflow execution that failed.voidsetWorkflowType(WorkflowType workflowType) The type of the child workflow execution.toString()Returns a string representation of this object; useful for testing and debugging.withDetails(String details) The details of the failure (if provided).withInitiatedEventId(Long initiatedEventId) The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.withReason(String reason) The reason for the failure (if provided).withStartedEventId(Long startedEventId) The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.withWorkflowExecution(WorkflowExecution workflowExecution) The child workflow execution that failed.withWorkflowType(WorkflowType workflowType) The type of the child workflow execution.
-
Constructor Details
-
ChildWorkflowExecutionFailedEventAttributes
public ChildWorkflowExecutionFailedEventAttributes()
-
-
Method Details
-
setWorkflowExecution
The child workflow execution that failed.
- Parameters:
workflowExecution- The child workflow execution that failed.
-
getWorkflowExecution
The child workflow execution that failed.
- Returns:
- The child workflow execution that failed.
-
withWorkflowExecution
public ChildWorkflowExecutionFailedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution) The child workflow execution that failed.
- Parameters:
workflowExecution- The child workflow execution that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWorkflowType
The type of the child workflow execution.
- Parameters:
workflowType- The type of the child workflow execution.
-
getWorkflowType
The type of the child workflow execution.
- Returns:
- The type of the child workflow execution.
-
withWorkflowType
The type of the child workflow execution.
- Parameters:
workflowType- The type of the child workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReason
The reason for the failure (if provided).
- Parameters:
reason- The reason for the failure (if provided).
-
getReason
The reason for the failure (if provided).
- Returns:
- The reason for the failure (if provided).
-
withReason
The reason for the failure (if provided).
- Parameters:
reason- The reason for the failure (if provided).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDetails
The details of the failure (if provided).
- Parameters:
details- The details of the failure (if provided).
-
getDetails
The details of the failure (if provided).
- Returns:
- The details of the failure (if provided).
-
withDetails
The details of the failure (if provided).
- Parameters:
details- The details of the failure (if provided).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInitiatedEventId
The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
initiatedEventId- The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getInitiatedEventId
The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withInitiatedEventId
The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
initiatedEventId- The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartedEventId
The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getStartedEventId
The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withStartedEventId
The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-