|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.simpleworkflow.model.WorkflowExecutionConfiguration
public class WorkflowExecutionConfiguration
The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.
Constructor Summary | |
---|---|
WorkflowExecutionConfiguration()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getChildPolicy()
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. |
String |
getExecutionStartToCloseTimeout()
The total duration for this workflow execution. |
TaskList |
getTaskList()
The task list used for the decision tasks generated for this workflow execution. |
String |
getTaskStartToCloseTimeout()
The maximum duration allowed for decision tasks for this workflow execution. |
int |
hashCode()
|
void |
setChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. |
void |
setChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. |
void |
setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration for this workflow execution. |
void |
setTaskList(TaskList taskList)
The task list used for the decision tasks generated for this workflow execution. |
void |
setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration allowed for decision tasks for this workflow execution. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
WorkflowExecutionConfiguration |
withChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. |
WorkflowExecutionConfiguration |
withChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. |
WorkflowExecutionConfiguration |
withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration for this workflow execution. |
WorkflowExecutionConfiguration |
withTaskList(TaskList taskList)
The task list used for the decision tasks generated for this workflow execution. |
WorkflowExecutionConfiguration |
withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration allowed for decision tasks for this workflow execution. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WorkflowExecutionConfiguration()
Method Detail |
---|
public String getTaskStartToCloseTimeout()
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: 1 - 8
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 setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
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: 1 - 8
taskStartToCloseTimeout
- The maximum duration allowed for decision tasks for this workflow
execution. 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 WorkflowExecutionConfiguration withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
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: 1 - 8
taskStartToCloseTimeout
- The maximum duration allowed for decision tasks for this workflow
execution. 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 String getExecutionStartToCloseTimeout()
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: 1 - 8
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 setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
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: 1 - 8
executionStartToCloseTimeout
- The total duration for this workflow execution. 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 WorkflowExecutionConfiguration withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
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: 1 - 8
executionStartToCloseTimeout
- The total duration for this workflow execution. 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 getTaskList()
public void setTaskList(TaskList taskList)
taskList
- The task list used for the decision tasks generated for this workflow
execution.public WorkflowExecutionConfiguration withTaskList(TaskList taskList)
Returns a reference to this object so that method calls can be chained together.
taskList
- The task list used for the decision tasks generated for this workflow
execution.
public String getChildPolicy()
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
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
public void setChildPolicy(String childPolicy)
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
childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. 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
public WorkflowExecutionConfiguration withChildPolicy(String childPolicy)
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
childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. 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
public void setChildPolicy(ChildPolicy childPolicy)
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
childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. 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
public WorkflowExecutionConfiguration withChildPolicy(ChildPolicy childPolicy)
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
childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. 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
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |