public class WorkflowExecutionDetail
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains details about a workflow execution.
Modifier and Type | Field and Description |
---|---|
private WorkflowExecutionConfiguration |
executionConfiguration
The configuration settings for this workflow execution including timeout
values, tasklist etc.
|
private WorkflowExecutionInfo |
executionInfo
Information about the workflow execution.
|
private java.util.Date |
latestActivityTaskTimestamp
The time when the last activity task was scheduled for this workflow
execution.
|
private java.lang.String |
latestExecutionContext
The latest executionContext provided by the decider for this workflow
execution.
|
private WorkflowExecutionOpenCounts |
openCounts
The number of tasks for this workflow execution.
|
Constructor and Description |
---|
WorkflowExecutionDetail() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionDetail |
clone() |
boolean |
equals(java.lang.Object obj) |
WorkflowExecutionConfiguration |
getExecutionConfiguration()
The configuration settings for this workflow execution including timeout
values, tasklist etc.
|
WorkflowExecutionInfo |
getExecutionInfo()
Information about the workflow execution.
|
java.util.Date |
getLatestActivityTaskTimestamp()
The time when the last activity task was scheduled for this workflow
execution.
|
java.lang.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(java.util.Date latestActivityTaskTimestamp)
The time when the last activity task was scheduled for this workflow
execution.
|
void |
setLatestExecutionContext(java.lang.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.
|
java.lang.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(java.util.Date latestActivityTaskTimestamp)
The time when the last activity task was scheduled for this workflow
execution.
|
WorkflowExecutionDetail |
withLatestExecutionContext(java.lang.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.
|
private WorkflowExecutionInfo executionInfo
Information about the workflow execution.
private WorkflowExecutionConfiguration executionConfiguration
The configuration settings for this workflow execution including timeout values, tasklist etc.
private WorkflowExecutionOpenCounts openCounts
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
private java.util.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.
private java.lang.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.
public void setExecutionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.
executionInfo
- Information about the workflow execution.public WorkflowExecutionInfo getExecutionInfo()
Information about the workflow execution.
public WorkflowExecutionDetail withExecutionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.
executionInfo
- Information about the workflow execution.public void setExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.
executionConfiguration
- The configuration settings for this workflow execution including
timeout values, tasklist etc.public WorkflowExecutionConfiguration getExecutionConfiguration()
The configuration settings for this workflow execution including timeout values, tasklist etc.
public WorkflowExecutionDetail withExecutionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.
executionConfiguration
- The configuration settings for this workflow execution including
timeout values, tasklist etc.public void setOpenCounts(WorkflowExecutionOpenCounts openCounts)
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
openCounts
- The number of tasks for this workflow execution. This includes
open and closed tasks of all types.public WorkflowExecutionOpenCounts getOpenCounts()
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
public WorkflowExecutionDetail withOpenCounts(WorkflowExecutionOpenCounts openCounts)
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
openCounts
- The number of tasks for this workflow execution. This includes
open and closed tasks of all types.public void setLatestActivityTaskTimestamp(java.util.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.
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 java.util.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.
public WorkflowExecutionDetail withLatestActivityTaskTimestamp(java.util.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.
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 void setLatestExecutionContext(java.lang.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.
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 java.lang.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.
public WorkflowExecutionDetail withLatestExecutionContext(java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public WorkflowExecutionDetail clone()
clone
in class java.lang.Object