public class WorkflowExecutionTerminatedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the WorkflowExecutionTerminated event.
| Constructor and Description |
|---|
WorkflowExecutionTerminatedEventAttributes() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowExecutionTerminatedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
If set, indicates that the workflow execution was automatically
terminated, and specifies the cause.
|
String |
getChildPolicy()
The policy used for the child workflow executions of this workflow
execution.
|
String |
getDetails()
The details provided for the termination (if any).
|
String |
getReason()
The reason provided for the termination (if any).
|
int |
hashCode() |
void |
setCause(String cause)
If set, indicates that the workflow execution was automatically
terminated, and specifies the cause.
|
void |
setCause(WorkflowExecutionTerminatedCause cause)
If set, indicates that the workflow execution was automatically
terminated, and specifies the cause.
|
void |
setChildPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow
execution.
|
void |
setChildPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow
execution.
|
void |
setDetails(String details)
The details provided for the termination (if any).
|
void |
setReason(String reason)
The reason provided for the termination (if any).
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionTerminatedEventAttributes |
withCause(String cause)
If set, indicates that the workflow execution was automatically
terminated, and specifies the cause.
|
WorkflowExecutionTerminatedEventAttributes |
withCause(WorkflowExecutionTerminatedCause cause)
If set, indicates that the workflow execution was automatically
terminated, and specifies the cause.
|
WorkflowExecutionTerminatedEventAttributes |
withChildPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow
execution.
|
WorkflowExecutionTerminatedEventAttributes |
withChildPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow
execution.
|
WorkflowExecutionTerminatedEventAttributes |
withDetails(String details)
The details provided for the termination (if any).
|
WorkflowExecutionTerminatedEventAttributes |
withReason(String reason)
The reason provided for the termination (if any).
|
public WorkflowExecutionTerminatedEventAttributes()
public void setReason(String reason)
The reason provided for the termination (if any).
reason - The reason provided for the termination (if any).public String getReason()
The reason provided for the termination (if any).
public WorkflowExecutionTerminatedEventAttributes withReason(String reason)
The reason provided for the termination (if any).
reason - The reason provided for the termination (if any).public void setDetails(String details)
The details provided for the termination (if any).
details - The details provided for the termination (if any).public String getDetails()
The details provided for the termination (if any).
public WorkflowExecutionTerminatedEventAttributes withDetails(String details)
The details provided for the termination (if any).
details - The details provided for the termination (if any).public void setChildPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.childPolicy - The policy used for the child workflow executions of this workflow
execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicypublic String getChildPolicy()
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.The supported child policies are:
WorkflowExecutionCancelRequested event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicypublic WorkflowExecutionTerminatedEventAttributes withChildPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.childPolicy - The policy used for the child workflow executions of this workflow
execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicypublic void setChildPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.childPolicy - The policy used for the child workflow executions of this workflow
execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicypublic WorkflowExecutionTerminatedEventAttributes withChildPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.childPolicy - The policy used for the child workflow executions of this workflow
execution.
The supported child policies are:
WorkflowExecutionCancelRequested event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicypublic void setCause(String cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
cause - If set, indicates that the workflow execution was automatically
terminated, and specifies the cause. This happens if the parent
workflow execution times out or is terminated and the child policy
is set to terminate child executions.WorkflowExecutionTerminatedCausepublic String getCause()
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
WorkflowExecutionTerminatedCausepublic WorkflowExecutionTerminatedEventAttributes withCause(String cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
cause - If set, indicates that the workflow execution was automatically
terminated, and specifies the cause. This happens if the parent
workflow execution times out or is terminated and the child policy
is set to terminate child executions.WorkflowExecutionTerminatedCausepublic void setCause(WorkflowExecutionTerminatedCause cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
cause - If set, indicates that the workflow execution was automatically
terminated, and specifies the cause. This happens if the parent
workflow execution times out or is terminated and the child policy
is set to terminate child executions.WorkflowExecutionTerminatedCausepublic WorkflowExecutionTerminatedEventAttributes withCause(WorkflowExecutionTerminatedCause cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
cause - If set, indicates that the workflow execution was automatically
terminated, and specifies the cause. This happens if the parent
workflow execution times out or is terminated and the child policy
is set to terminate child executions.WorkflowExecutionTerminatedCausepublic String toString()
toString in class ObjectObject.toString()public WorkflowExecutionTerminatedEventAttributes clone()
Copyright © 2016. All rights reserved.