public class WorkflowTypeConfiguration
extends java.lang.Object
implements java.io.Serializable
The configuration settings of a workflow type.
| コンストラクタと説明 |
|---|
WorkflowTypeConfiguration() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefaultChildPolicy()
The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
java.lang.String |
getDefaultExecutionStartToCloseTimeout()
The optional default maximum duration, specified when registering the
workflow type, for executions of this workflow type.
|
TaskList |
getDefaultTaskList()
The optional default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type.
|
java.lang.String |
getDefaultTaskStartToCloseTimeout()
The optional default maximum duration, specified when registering the
workflow type, that a decision task for executions of this workflow
type might take before returning completion or failure.
|
int |
hashCode() |
void |
setDefaultChildPolicy(ChildPolicy defaultChildPolicy)
The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
void |
setDefaultChildPolicy(java.lang.String defaultChildPolicy)
The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
void |
setDefaultExecutionStartToCloseTimeout(java.lang.String defaultExecutionStartToCloseTimeout)
The optional default maximum duration, specified when registering the
workflow type, for executions of this workflow type.
|
void |
setDefaultTaskList(TaskList defaultTaskList)
The optional default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type.
|
void |
setDefaultTaskStartToCloseTimeout(java.lang.String defaultTaskStartToCloseTimeout)
The optional default maximum duration, specified when registering the
workflow type, that a decision task for executions of this workflow
type might take before returning completion or failure.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowTypeConfiguration |
withDefaultChildPolicy(ChildPolicy defaultChildPolicy)
The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
WorkflowTypeConfiguration |
withDefaultChildPolicy(java.lang.String defaultChildPolicy)
The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
WorkflowTypeConfiguration |
withDefaultExecutionStartToCloseTimeout(java.lang.String defaultExecutionStartToCloseTimeout)
The optional default maximum duration, specified when registering the
workflow type, for executions of this workflow type.
|
WorkflowTypeConfiguration |
withDefaultTaskList(TaskList defaultTaskList)
The optional default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type.
|
WorkflowTypeConfiguration |
withDefaultTaskStartToCloseTimeout(java.lang.String defaultTaskStartToCloseTimeout)
The optional default maximum duration, specified when registering the
workflow type, that a decision task for executions of this workflow
type might take before returning completion or failure.
|
public java.lang.String getDefaultTaskStartToCloseTimeout()
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
public void setDefaultTaskStartToCloseTimeout(java.lang.String defaultTaskStartToCloseTimeout)
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
defaultTaskStartToCloseTimeout - The optional default maximum duration, specified when registering the
workflow type, that a decision task for executions of this workflow
type might take before returning completion or failure. If the task
does not close in the specified time then the task is automatically
timed out and rescheduled. If the decider eventually reports a
completion or failure, it is ignored. This default can be overridden
when starting a workflow execution using the
StartWorkflowExecution action or the
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
public WorkflowTypeConfiguration withDefaultTaskStartToCloseTimeout(java.lang.String defaultTaskStartToCloseTimeout)
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskStartToCloseTimeout - The optional default maximum duration, specified when registering the
workflow type, that a decision task for executions of this workflow
type might take before returning completion or failure. If the task
does not close in the specified time then the task is automatically
timed out and rescheduled. If the decider eventually reports a
completion or failure, it is ignored. This default can be overridden
when starting a workflow execution using the
StartWorkflowExecution action or the
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
public java.lang.String getDefaultExecutionStartToCloseTimeout()
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
public void setDefaultExecutionStartToCloseTimeout(java.lang.String defaultExecutionStartToCloseTimeout)
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
defaultExecutionStartToCloseTimeout - The optional default maximum duration, specified when registering the
workflow type, for executions of this workflow type. This default can
be overridden when starting a workflow execution using the
StartWorkflowExecution action or the
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
public WorkflowTypeConfiguration withDefaultExecutionStartToCloseTimeout(java.lang.String defaultExecutionStartToCloseTimeout)
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultExecutionStartToCloseTimeout - The optional default maximum duration, specified when registering the
workflow type, for executions of this workflow type. This default can
be overridden when starting a workflow execution using the
StartWorkflowExecution action or the
StartChildWorkflowExecution Decision. The valid
values are integers greater than or equal to 0. An
integer value can be used to specify the duration in seconds while
NONE can be used to specify unlimited duration.
public TaskList getDefaultTaskList()
StartChildWorkflowExecution Decision.StartChildWorkflowExecution Decision.public void setDefaultTaskList(TaskList defaultTaskList)
StartChildWorkflowExecution Decision.defaultTaskList - The optional default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type. This default can be overridden when starting a workflow
execution using the StartWorkflowExecution action or the
StartChildWorkflowExecution Decision.public WorkflowTypeConfiguration withDefaultTaskList(TaskList defaultTaskList)
StartChildWorkflowExecution Decision.
Returns a reference to this object so that method calls can be chained together.
defaultTaskList - The optional default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type. This default can be overridden when starting a workflow
execution using the StartWorkflowExecution action or the
StartChildWorkflowExecution Decision.public java.lang.String getDefaultChildPolicy()
StartChildWorkflowExecution Decision. 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.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
StartChildWorkflowExecution Decision. 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 setDefaultChildPolicy(java.lang.String defaultChildPolicy)
StartChildWorkflowExecution Decision. 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.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
defaultChildPolicy - The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. This default can be overridden when starting a
workflow execution using the StartWorkflowExecution action or
the StartChildWorkflowExecution Decision. 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 WorkflowTypeConfiguration withDefaultChildPolicy(java.lang.String defaultChildPolicy)
StartChildWorkflowExecution Decision. 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. Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
defaultChildPolicy - The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. This default can be overridden when starting a
workflow execution using the StartWorkflowExecution action or
the StartChildWorkflowExecution Decision. 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 setDefaultChildPolicy(ChildPolicy defaultChildPolicy)
StartChildWorkflowExecution Decision. 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.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
defaultChildPolicy - The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. This default can be overridden when starting a
workflow execution using the StartWorkflowExecution action or
the StartChildWorkflowExecution Decision. 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 WorkflowTypeConfiguration withDefaultChildPolicy(ChildPolicy defaultChildPolicy)
StartChildWorkflowExecution Decision. 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. Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
defaultChildPolicy - The optional default policy to use for the child workflow executions
when a workflow execution of this type is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. This default can be overridden when starting a
workflow execution using the StartWorkflowExecution action or
the StartChildWorkflowExecution Decision. 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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object