public class ChildWorkflowExecutionTerminatedEventAttributes extends Object implements Serializable
Provides details of the ChildWorkflowExecutionTerminated
event.
Constructor and Description |
---|
ChildWorkflowExecutionTerminatedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getInitiatedEventId()
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this child workflow execution. |
Long |
getStartedEventId()
The Id of the
ChildWorkflowExecutionStarted event
recorded when this child workflow execution was started. |
WorkflowExecution |
getWorkflowExecution()
The child workflow execution that was terminated.
|
WorkflowType |
getWorkflowType()
The type of the child workflow execution.
|
int |
hashCode() |
void |
setInitiatedEventId(Long initiatedEventId)
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this child workflow execution. |
void |
setStartedEventId(Long startedEventId)
The Id of the
ChildWorkflowExecutionStarted event
recorded when this child workflow execution was started. |
void |
setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was terminated.
|
void |
setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChildWorkflowExecutionTerminatedEventAttributes |
withInitiatedEventId(Long initiatedEventId)
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this child workflow execution. |
ChildWorkflowExecutionTerminatedEventAttributes |
withStartedEventId(Long startedEventId)
The Id of the
ChildWorkflowExecutionStarted event
recorded when this child workflow execution was started. |
ChildWorkflowExecutionTerminatedEventAttributes |
withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was terminated.
|
ChildWorkflowExecutionTerminatedEventAttributes |
withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
public ChildWorkflowExecutionTerminatedEventAttributes()
public WorkflowExecution getWorkflowExecution()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
workflowExecution
- The child workflow execution that was terminated.public ChildWorkflowExecutionTerminatedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
Returns a reference to this object so that method calls can be chained together.
workflowExecution
- The child workflow execution that was terminated.public WorkflowType getWorkflowType()
public void setWorkflowType(WorkflowType workflowType)
workflowType
- The type of the child workflow execution.public ChildWorkflowExecutionTerminatedEventAttributes withWorkflowType(WorkflowType workflowType)
Returns a reference to this object so that method calls can be chained together.
workflowType
- The type of the child workflow execution.public Long getInitiatedEventId()
StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
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.StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
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.public void setInitiatedEventId(Long initiatedEventId)
StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
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.initiatedEventId
- The id of the StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
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.public ChildWorkflowExecutionTerminatedEventAttributes withInitiatedEventId(Long initiatedEventId)
StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
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 a reference to this object so that method calls can be chained together.
initiatedEventId
- The id of the StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
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.public Long getStartedEventId()
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.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.public void setStartedEventId(Long startedEventId)
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.startedEventId
- 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.public ChildWorkflowExecutionTerminatedEventAttributes withStartedEventId(Long startedEventId)
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 a reference to this object so that method calls can be chained together.
startedEventId
- 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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.