Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowExecutionContinuedAsNewEventAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.WorkflowExecutionContinuedAsNewEventAttributes

public class WorkflowExecutionContinuedAsNewEventAttributes
extends Object

Provides details of the WorkflowExecutionContinuedAsNew event.


Constructor Summary
WorkflowExecutionContinuedAsNewEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getChildPolicy()
          The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 Long getDecisionTaskCompletedEventId()
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution.
 String getExecutionStartToCloseTimeout()
          The total duration allowed for the new workflow execution.
 String getInput()
          The input provided to the new workflow execution.
 String getNewExecutionRunId()
          The runId of the new workflow execution.
 List<String> getTagList()
          The list of tags associated with the new workflow execution.
 TaskList getTaskList()
          Represents a task list.
 String getTaskStartToCloseTimeout()
          The maximum duration of decision tasks for the new workflow execution.
 WorkflowType getWorkflowType()
          Represents a workflow type.
 int hashCode()
           
 void setChildPolicy(ChildPolicy childPolicy)
          The policy to use for the child workflow executions of the new execution if it 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 of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution.
 void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
          The total duration allowed for the new workflow execution.
 void setInput(String input)
          The input provided to the new workflow execution.
 void setNewExecutionRunId(String newExecutionRunId)
          The runId of the new workflow execution.
 void setTagList(Collection<String> tagList)
          The list of tags associated with the new workflow execution.
 void setTaskList(TaskList taskList)
          Represents a task list.
 void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
          The maximum duration of decision tasks for the new workflow execution.
 void setWorkflowType(WorkflowType workflowType)
          Represents a workflow type.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowExecutionContinuedAsNewEventAttributes withChildPolicy(ChildPolicy childPolicy)
          The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 WorkflowExecutionContinuedAsNewEventAttributes withChildPolicy(String childPolicy)
          The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 WorkflowExecutionContinuedAsNewEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution.
 WorkflowExecutionContinuedAsNewEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
          The total duration allowed for the new workflow execution.
 WorkflowExecutionContinuedAsNewEventAttributes withInput(String input)
          The input provided to the new workflow execution.
 WorkflowExecutionContinuedAsNewEventAttributes withNewExecutionRunId(String newExecutionRunId)
          The runId of the new workflow execution.
 WorkflowExecutionContinuedAsNewEventAttributes withTagList(Collection<String> tagList)
          The list of tags associated with the new workflow execution.
 WorkflowExecutionContinuedAsNewEventAttributes withTagList(String... tagList)
          The list of tags associated with the new workflow execution.
 WorkflowExecutionContinuedAsNewEventAttributes withTaskList(TaskList taskList)
          Represents a task list.
 WorkflowExecutionContinuedAsNewEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
          The maximum duration of decision tasks for the new workflow execution.
 WorkflowExecutionContinuedAsNewEventAttributes withWorkflowType(WorkflowType workflowType)
          Represents a workflow type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowExecutionContinuedAsNewEventAttributes

public WorkflowExecutionContinuedAsNewEventAttributes()
Method Detail

getInput

public String getInput()
The input provided to the new workflow execution.

Constraints:
Length: 0 - 32768

Returns:
The input provided to the new workflow execution.

setInput

public void setInput(String input)
The input provided to the new workflow execution.

Constraints:
Length: 0 - 32768

Parameters:
input - The input provided to the new workflow execution.

withInput

public WorkflowExecutionContinuedAsNewEventAttributes withInput(String input)
The input provided to the new workflow execution.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32768

Parameters:
input - The input provided to the new workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getDecisionTaskCompletedEventId

public Long getDecisionTaskCompletedEventId()
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the cause of events.

Returns:
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the cause of events.

setDecisionTaskCompletedEventId

public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the cause of events.

Parameters:
decisionTaskCompletedEventId - The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the cause of events.

withDecisionTaskCompletedEventId

public WorkflowExecutionContinuedAsNewEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the cause of events.

Returns a reference to this object so that method calls can be chained together.

Parameters:
decisionTaskCompletedEventId - The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the cause of events.
Returns:
A reference to this updated object so that method calls can be chained together.

getNewExecutionRunId

public String getNewExecutionRunId()
The runId of the new workflow execution.

Constraints:
Length: 1 - 64

Returns:
The runId of the new workflow execution.

setNewExecutionRunId

public void setNewExecutionRunId(String newExecutionRunId)
The runId of the new workflow execution.

Constraints:
Length: 1 - 64

Parameters:
newExecutionRunId - The runId of the new workflow execution.

withNewExecutionRunId

public WorkflowExecutionContinuedAsNewEventAttributes withNewExecutionRunId(String newExecutionRunId)
The runId of the new workflow execution.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 64

Parameters:
newExecutionRunId - The runId of the new workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getExecutionStartToCloseTimeout

public String getExecutionStartToCloseTimeout()
The total duration allowed for the new 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.

Constraints:
Length: 0 - 8

Returns:
The total duration allowed for the new 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.


setExecutionStartToCloseTimeout

public void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration allowed for the new 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.

Constraints:
Length: 0 - 8

Parameters:
executionStartToCloseTimeout - The total duration allowed for the new 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.


withExecutionStartToCloseTimeout

public WorkflowExecutionContinuedAsNewEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration allowed for the new 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 8

Parameters:
executionStartToCloseTimeout - The total duration allowed for the new 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.

Returns:
A reference to this updated object so that method calls can be chained together.

getTaskList

public TaskList getTaskList()
Represents a task list.

Returns:
Represents a task list.

setTaskList

public void setTaskList(TaskList taskList)
Represents a task list.

Parameters:
taskList - Represents a task list.

withTaskList

public WorkflowExecutionContinuedAsNewEventAttributes withTaskList(TaskList taskList)
Represents a task list.

Returns a reference to this object so that method calls can be chained together.

Parameters:
taskList - Represents a task list.
Returns:
A reference to this updated object so that method calls can be chained together.

getTaskStartToCloseTimeout

public String getTaskStartToCloseTimeout()
The maximum duration of decision tasks for the new 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.

Constraints:
Length: 0 - 8

Returns:
The maximum duration of decision tasks for the new 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.


setTaskStartToCloseTimeout

public void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for the new 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.

Constraints:
Length: 0 - 8

Parameters:
taskStartToCloseTimeout - The maximum duration of decision tasks for the new 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.


withTaskStartToCloseTimeout

public WorkflowExecutionContinuedAsNewEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for the new 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 8

Parameters:
taskStartToCloseTimeout - The maximum duration of decision tasks for the new 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.

Returns:
A reference to this updated object so that method calls can be chained together.

getChildPolicy

public String getChildPolicy()
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Returns:
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

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:
ChildPolicy

setChildPolicy

public void setChildPolicy(String childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

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:
ChildPolicy

withChildPolicy

public WorkflowExecutionContinuedAsNewEventAttributes withChildPolicy(String childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

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:
A reference to this updated object so that method calls can be chained together.
See Also:
ChildPolicy

setChildPolicy

public void setChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

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:
ChildPolicy

withChildPolicy

public WorkflowExecutionContinuedAsNewEventAttributes withChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

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:
A reference to this updated object so that method calls can be chained together.
See Also:
ChildPolicy

getTagList

public List<String> getTagList()
The list of tags associated with the new workflow execution.

Constraints:
Length: 0 - 5

Returns:
The list of tags associated with the new workflow execution.

setTagList

public void setTagList(Collection<String> tagList)
The list of tags associated with the new workflow execution.

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags associated with the new workflow execution.

withTagList

public WorkflowExecutionContinuedAsNewEventAttributes withTagList(String... tagList)
The list of tags associated with the new workflow execution.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags associated with the new workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

withTagList

public WorkflowExecutionContinuedAsNewEventAttributes withTagList(Collection<String> tagList)
The list of tags associated with the new workflow execution.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags associated with the new workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getWorkflowType

public WorkflowType getWorkflowType()
Represents a workflow type.

Returns:
Represents a workflow type.

setWorkflowType

public void setWorkflowType(WorkflowType workflowType)
Represents a workflow type.

Parameters:
workflowType - Represents a workflow type.

withWorkflowType

public WorkflowExecutionContinuedAsNewEventAttributes withWorkflowType(WorkflowType workflowType)
Represents a workflow type.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowType - Represents a workflow type.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.