public class WorkflowExecutionDetail extends Object implements Serializable, Cloneable
Contains details about a workflow execution.
Constructor and Description |
---|
WorkflowExecutionDetail() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionDetail |
clone() |
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.
|
public WorkflowExecutionInfo getExecutionInfo()
public void setExecutionInfo(WorkflowExecutionInfo executionInfo)
executionInfo
- Information about the workflow execution.public WorkflowExecutionDetail withExecutionInfo(WorkflowExecutionInfo executionInfo)
Returns a reference to this object so that method calls can be chained together.
executionInfo
- Information about the workflow execution.public WorkflowExecutionConfiguration getExecutionConfiguration()
public void setExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
executionConfiguration
- The configuration settings for this workflow execution including
timeout values, tasklist etc.public WorkflowExecutionDetail withExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
Returns a reference to this object so that method calls can be chained together.
executionConfiguration
- The configuration settings for this workflow execution including
timeout values, tasklist etc.public WorkflowExecutionOpenCounts getOpenCounts()
public void setOpenCounts(WorkflowExecutionOpenCounts openCounts)
openCounts
- The number of tasks for this workflow execution. This includes open
and closed tasks of all types.public WorkflowExecutionDetail withOpenCounts(WorkflowExecutionOpenCounts openCounts)
Returns a reference to this object so that method calls can be chained together.
openCounts
- The number of tasks for this workflow execution. This includes open
and closed tasks of all types.public Date getLatestActivityTaskTimestamp()
public void setLatestActivityTaskTimestamp(Date latestActivityTaskTimestamp)
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.public WorkflowExecutionDetail withLatestActivityTaskTimestamp(Date latestActivityTaskTimestamp)
Returns a reference to this object so that method calls can be chained together.
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.public String getLatestExecutionContext()
Constraints:
Length: 0 - 32768
public void setLatestExecutionContext(String latestExecutionContext)
Constraints:
Length: 0 - 32768
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.public WorkflowExecutionDetail withLatestExecutionContext(String latestExecutionContext)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
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.public String toString()
toString
in class Object
Object.toString()
public WorkflowExecutionDetail clone()
Copyright © 2015. All rights reserved.