Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowExecutionDetail

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

public class WorkflowExecutionDetail
extends Object

Contains details about a workflow execution.


Constructor Summary
WorkflowExecutionDetail()
           
 
Method Summary
 boolean equals(Object obj)
           
 WorkflowExecutionConfiguration getExecutionConfiguration()
          The configuration settings for this workflow execution including timeout values, tasklist etc.
 WorkflowExecutionInfo getExecutionInfo()
          Information about the workflow execution.
 Date getLatestActivityTaskTimestamp()
          The time when the last activity task was scheduled for this workflow execution.
 String getLatestExecutionContext()
          The latest executionContext provided by the decider for this workflow execution.
 WorkflowExecutionOpenCounts getOpenCounts()
          The number of tasks for this workflow execution.
 int hashCode()
           
 void setExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
          The configuration settings for this workflow execution including timeout values, tasklist etc.
 void setExecutionInfo(WorkflowExecutionInfo executionInfo)
          Information about the workflow execution.
 void setLatestActivityTaskTimestamp(Date latestActivityTaskTimestamp)
          The time when the last activity task was scheduled for this workflow execution.
 void setLatestExecutionContext(String latestExecutionContext)
          The latest executionContext provided by the decider for this workflow execution.
 void setOpenCounts(WorkflowExecutionOpenCounts openCounts)
          The number of tasks for this workflow execution.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowExecutionDetail withExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
          The configuration settings for this workflow execution including timeout values, tasklist etc.
 WorkflowExecutionDetail withExecutionInfo(WorkflowExecutionInfo executionInfo)
          Information about the workflow execution.
 WorkflowExecutionDetail withLatestActivityTaskTimestamp(Date latestActivityTaskTimestamp)
          The time when the last activity task was scheduled for this workflow execution.
 WorkflowExecutionDetail withLatestExecutionContext(String latestExecutionContext)
          The latest executionContext provided by the decider for this workflow execution.
 WorkflowExecutionDetail withOpenCounts(WorkflowExecutionOpenCounts openCounts)
          The number of tasks for this workflow execution.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowExecutionDetail

public WorkflowExecutionDetail()
Method Detail

getExecutionInfo

public WorkflowExecutionInfo getExecutionInfo()
Information about the workflow execution.

Returns:
Information about the workflow execution.

setExecutionInfo

public void setExecutionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.

Parameters:
executionInfo - Information about the workflow execution.

withExecutionInfo

public WorkflowExecutionDetail withExecutionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.

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

Parameters:
executionInfo - Information about the workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getExecutionConfiguration

public WorkflowExecutionConfiguration getExecutionConfiguration()
The configuration settings for this workflow execution including timeout values, tasklist etc.

Returns:
The configuration settings for this workflow execution including timeout values, tasklist etc.

setExecutionConfiguration

public void setExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.

Parameters:
executionConfiguration - The configuration settings for this workflow execution including timeout values, tasklist etc.

withExecutionConfiguration

public WorkflowExecutionDetail withExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.

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

Parameters:
executionConfiguration - The configuration settings for this workflow execution including timeout values, tasklist etc.
Returns:
A reference to this updated object so that method calls can be chained together.

getOpenCounts

public WorkflowExecutionOpenCounts getOpenCounts()
The number of tasks for this workflow execution. This includes open and closed tasks of all types.

Returns:
The number of tasks for this workflow execution. This includes open and closed tasks of all types.

setOpenCounts

public void setOpenCounts(WorkflowExecutionOpenCounts openCounts)
The number of tasks for this workflow execution. This includes open and closed tasks of all types.

Parameters:
openCounts - The number of tasks for this workflow execution. This includes open and closed tasks of all types.

withOpenCounts

public WorkflowExecutionDetail withOpenCounts(WorkflowExecutionOpenCounts openCounts)
The number of tasks for this workflow execution. This includes open and closed tasks of all types.

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

Parameters:
openCounts - The number of tasks for this workflow execution. This includes open and closed tasks of all types.
Returns:
A reference to this updated object so that method calls can be chained together.

getLatestActivityTaskTimestamp

public Date getLatestActivityTaskTimestamp()
The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.

Returns:
The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.

setLatestActivityTaskTimestamp

public void setLatestActivityTaskTimestamp(Date latestActivityTaskTimestamp)
The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.

Parameters:
latestActivityTaskTimestamp - The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.

withLatestActivityTaskTimestamp

public WorkflowExecutionDetail withLatestActivityTaskTimestamp(Date latestActivityTaskTimestamp)
The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.

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

Parameters:
latestActivityTaskTimestamp - The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.
Returns:
A reference to this updated object so that method calls can be chained together.

getLatestExecutionContext

public String getLatestExecutionContext()
The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext, which is a free form string, when closing a decision task using RespondDecisionTaskCompleted.

Constraints:
Length: 0 - 32768

Returns:
The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext, which is a free form string, when closing a decision task using RespondDecisionTaskCompleted.

setLatestExecutionContext

public void setLatestExecutionContext(String latestExecutionContext)
The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext, which is a free form string, when closing a decision task using RespondDecisionTaskCompleted.

Constraints:
Length: 0 - 32768

Parameters:
latestExecutionContext - The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext, which is a free form string, when closing a decision task using RespondDecisionTaskCompleted.

withLatestExecutionContext

public WorkflowExecutionDetail withLatestExecutionContext(String latestExecutionContext)
The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext, which is a free form string, when closing a decision task using RespondDecisionTaskCompleted.

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

Constraints:
Length: 0 - 32768

Parameters:
latestExecutionContext - The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext, which is a free form string, when closing a decision task using RespondDecisionTaskCompleted.
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.