Class WorkflowExecutionTimedOutEventAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Provides details of the WorkflowExecutionTimedOut
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The policy used for the child workflow executions of this workflow execution.The type of timeout that caused this event.int
hashCode()
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
setTimeoutType
(WorkflowExecutionTimeoutType timeoutType) The type of timeout that caused this event.void
setTimeoutType
(String timeoutType) The type of timeout that caused this event.toString()
Returns a string representation of this object; useful for testing and debugging.withChildPolicy
(ChildPolicy childPolicy) The policy used for the child workflow executions of this workflow execution.withChildPolicy
(String childPolicy) The policy used for the child workflow executions of this workflow execution.withTimeoutType
(WorkflowExecutionTimeoutType timeoutType) The type of timeout that caused this event.withTimeoutType
(String timeoutType) The type of timeout that caused this event.
-
Constructor Details
-
WorkflowExecutionTimedOutEventAttributes
public WorkflowExecutionTimedOutEventAttributes()
-
-
Method Details
-
setTimeoutType
The type of timeout that caused this event.
- Parameters:
timeoutType
- The type of timeout that caused this event.- See Also:
-
getTimeoutType
The type of timeout that caused this event.
- Returns:
- The type of timeout that caused this event.
- See Also:
-
withTimeoutType
The type of timeout that caused this event.
- Parameters:
timeoutType
- The type of timeout that caused this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTimeoutType
The type of timeout that caused this event.
- Parameters:
timeoutType
- The type of timeout that caused this event.- See Also:
-
withTimeoutType
public WorkflowExecutionTimedOutEventAttributes withTimeoutType(WorkflowExecutionTimeoutType timeoutType) The type of timeout that caused this event.
- Parameters:
timeoutType
- The type of timeout that caused this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setChildPolicy
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Parameters:
childPolicy
- The policy used for the child workflow executions of this workflow execution.The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- See Also:
-
getChildPolicy
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Returns:
- The policy used for the child workflow executions of this
workflow execution.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- See Also:
-
withChildPolicy
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Parameters:
childPolicy
- The policy used for the child workflow executions of this workflow execution.The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setChildPolicy
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Parameters:
childPolicy
- The policy used for the child workflow executions of this workflow execution.The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- See Also:
-
withChildPolicy
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Parameters:
childPolicy
- The policy used for the child workflow executions of this workflow execution.The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-