Class ChildWorkflowExecutionCompletedEventAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Provides details of the ChildWorkflowExecutionCompleted
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision to start this child workflow execution.The result of the child workflow execution (if any).The ID of theChildWorkflowExecutionStarted
event recorded when this child workflow execution was started.The child workflow execution that was completed.The type of the child workflow execution.int
hashCode()
void
setInitiatedEventId
(Long initiatedEventId) The ID of theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision to start this child workflow execution.void
The result of the child workflow execution (if any).void
setStartedEventId
(Long startedEventId) The ID of theChildWorkflowExecutionStarted
event recorded when this child workflow execution was started.void
setWorkflowExecution
(WorkflowExecution workflowExecution) The child workflow execution that was completed.void
setWorkflowType
(WorkflowType workflowType) The type of the child workflow execution.toString()
Returns a string representation of this object; useful for testing and debugging.withInitiatedEventId
(Long initiatedEventId) The ID of theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision to start this child workflow execution.withResult
(String result) The result of the child workflow execution (if any).withStartedEventId
(Long startedEventId) The ID of theChildWorkflowExecutionStarted
event recorded when this child workflow execution was started.withWorkflowExecution
(WorkflowExecution workflowExecution) The child workflow execution that was completed.withWorkflowType
(WorkflowType workflowType) The type of the child workflow execution.
-
Constructor Details
-
ChildWorkflowExecutionCompletedEventAttributes
public ChildWorkflowExecutionCompletedEventAttributes()
-
-
Method Details
-
setWorkflowExecution
The child workflow execution that was completed.
- Parameters:
workflowExecution
- The child workflow execution that was completed.
-
getWorkflowExecution
The child workflow execution that was completed.
- Returns:
- The child workflow execution that was completed.
-
withWorkflowExecution
public ChildWorkflowExecutionCompletedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution) The child workflow execution that was completed.
- Parameters:
workflowExecution
- The child workflow execution that was completed.- 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.
-
setResult
The result of the child workflow execution (if any).
- Parameters:
result
- The result of the child workflow execution (if any).
-
getResult
The result of the child workflow execution (if any).
- Returns:
- The result of the child workflow execution (if any).
-
withResult
The result of the child workflow execution (if any).
- Parameters:
result
- The result of the child workflow execution (if any).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInitiatedEventId
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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 theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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 theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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
ChildWorkflowExecutionStarted
event 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 theChildWorkflowExecutionStarted
event 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
ChildWorkflowExecutionStarted
event 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
ChildWorkflowExecutionStarted
event 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
ChildWorkflowExecutionStarted
event 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 theChildWorkflowExecutionStarted
event 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
-