Class WorkflowExecutionDetail
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.WorkflowExecutionDetail
-
- All Implemented Interfaces:
Serializable,Cloneable
public class WorkflowExecutionDetail extends Object implements Serializable, Cloneable
Contains details about a workflow execution.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionDetailclone()booleanequals(Object obj)WorkflowExecutionConfigurationgetExecutionConfiguration()The configuration settings for this workflow execution including timeout values, tasklist etc.WorkflowExecutionInfogetExecutionInfo()Information about the workflow execution.DategetLatestActivityTaskTimestamp()The time when the last activity task was scheduled for this workflow execution.StringgetLatestExecutionContext()The latest executionContext provided by the decider for this workflow execution.WorkflowExecutionOpenCountsgetOpenCounts()The number of tasks for this workflow execution.inthashCode()voidsetExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)The configuration settings for this workflow execution including timeout values, tasklist etc.voidsetExecutionInfo(WorkflowExecutionInfo executionInfo)Information about the workflow execution.voidsetLatestActivityTaskTimestamp(Date latestActivityTaskTimestamp)The time when the last activity task was scheduled for this workflow execution.voidsetLatestExecutionContext(String latestExecutionContext)The latest executionContext provided by the decider for this workflow execution.voidsetOpenCounts(WorkflowExecutionOpenCounts openCounts)The number of tasks for this workflow execution.StringtoString()Returns a string representation of this object; useful for testing and debugging.WorkflowExecutionDetailwithExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)The configuration settings for this workflow execution including timeout values, tasklist etc.WorkflowExecutionDetailwithExecutionInfo(WorkflowExecutionInfo executionInfo)Information about the workflow execution.WorkflowExecutionDetailwithLatestActivityTaskTimestamp(Date latestActivityTaskTimestamp)The time when the last activity task was scheduled for this workflow execution.WorkflowExecutionDetailwithLatestExecutionContext(String latestExecutionContext)The latest executionContext provided by the decider for this workflow execution.WorkflowExecutionDetailwithOpenCounts(WorkflowExecutionOpenCounts openCounts)The number of tasks for this workflow execution.
-
-
-
Method Detail
-
setExecutionInfo
public void setExecutionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.
- Parameters:
executionInfo- Information about the workflow execution.
-
getExecutionInfo
public WorkflowExecutionInfo getExecutionInfo()
Information about the workflow execution.
- Returns:
- Information about the workflow execution.
-
withExecutionInfo
public WorkflowExecutionDetail withExecutionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.
- Parameters:
executionInfo- Information about the workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
withExecutionConfiguration
public WorkflowExecutionDetail withExecutionConfiguration(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
withOpenCounts
public WorkflowExecutionDetail withOpenCounts(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
setLatestExecutionContext
public void setLatestExecutionContext(String latestExecutionContext)
The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.
- Parameters:
latestExecutionContext- The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.
-
getLatestExecutionContext
public String getLatestExecutionContext()
The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.
- Returns:
- The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext (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 (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.
- Parameters:
latestExecutionContext- The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WorkflowExecutionDetail clone()
-
-