Class ChildWorkflowExecutionCanceledEventAttributes
- All Implemented Interfaces:
Serializable, Cloneable
Provide details of the ChildWorkflowExecutionCanceled event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanDetails of the cancellation (if provided).The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.The child workflow execution that was canceled.The type of the child workflow execution.inthashCode()voidsetDetails(String details) Details of the cancellation (if provided).voidsetInitiatedEventId(Long initiatedEventId) The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.voidsetStartedEventId(Long startedEventId) The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.voidsetWorkflowExecution(WorkflowExecution workflowExecution) The child workflow execution that was canceled.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) Details of the cancellation (if provided).withInitiatedEventId(Long initiatedEventId) The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.withStartedEventId(Long startedEventId) The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.withWorkflowExecution(WorkflowExecution workflowExecution) The child workflow execution that was canceled.withWorkflowType(WorkflowType workflowType) The type of the child workflow execution.
-
Constructor Details
-
ChildWorkflowExecutionCanceledEventAttributes
public ChildWorkflowExecutionCanceledEventAttributes()
-
-
Method Details
-
setWorkflowExecution
The child workflow execution that was canceled.
- Parameters:
workflowExecution- The child workflow execution that was canceled.
-
getWorkflowExecution
The child workflow execution that was canceled.
- Returns:
- The child workflow execution that was canceled.
-
withWorkflowExecution
public ChildWorkflowExecutionCanceledEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution) The child workflow execution that was canceled.
- Parameters:
workflowExecution- The child workflow execution that was canceled.- 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.
-
setDetails
Details of the cancellation (if provided).
- Parameters:
details- Details of the cancellation (if provided).
-
getDetails
Details of the cancellation (if provided).
- Returns:
- Details of the cancellation (if provided).
-
withDetails
Details of the cancellation (if provided).
- Parameters:
details- Details of the cancellation (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
-
equals
-
hashCode
-
clone
-