Class WorkflowExecutionDetail
- All Implemented Interfaces:
Serializable
,Cloneable
Contains details about a workflow execution.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The configuration settings for this workflow execution including timeout values, tasklist etc.Information about the workflow execution.The time when the last activity task was scheduled for this workflow execution.The latest executionContext provided by the decider for this workflow execution.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.toString()
Returns a string representation of this object; useful for testing and debugging.withExecutionConfiguration
(WorkflowExecutionConfiguration executionConfiguration) The configuration settings for this workflow execution including timeout values, tasklist etc.withExecutionInfo
(WorkflowExecutionInfo executionInfo) Information about the workflow execution.withLatestActivityTaskTimestamp
(Date latestActivityTaskTimestamp) The time when the last activity task was scheduled for this workflow execution.withLatestExecutionContext
(String latestExecutionContext) The latest executionContext provided by the decider for this workflow execution.withOpenCounts
(WorkflowExecutionOpenCounts openCounts) The number of tasks for this workflow execution.
-
Constructor Details
-
WorkflowExecutionDetail
public WorkflowExecutionDetail()
-
-
Method Details
-
setExecutionInfo
Information about the workflow execution.
- Parameters:
executionInfo
- Information about the workflow execution.
-
getExecutionInfo
Information about the workflow execution.
- Returns:
- Information about the workflow execution.
-
withExecutionInfo
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
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
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
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
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-