Interface Informational
- All Known Implementing Classes:
JpaWorkflow
public interface Informational
Provides property information about a workflow.
-
Method Summary
Modifier and TypeMethodDescriptionThe context id of the workflow (primary key)Key/Value pairs of information passed to the workflow when it was started.A short description of the purpose of this workflow.The most recent exception that took place during a previous workflow execution.Token associated with the workflow to correlate with messaging.getName()
The unique name identifier for this workflow.The status of the workflow.void
setLastException
(String lastException) The most recent exception that took place during a previous workflow execution.void
setLastStepName
(String lastStepName) The name of the most recent activity that is presumed to be in-processvoid
setLastStepTimeout
(Long timeout) The timestamp at which the workflow will have exceeded the timeout boundary for activity execution for the activity identified bysetLastStepName(String)
.void
The status of the workflow.
-
Method Details
-
getContextId
String getContextId()The context id of the workflow (primary key)- Returns:
- The context id
-
getStatus
String getStatus()The status of the workflow. SeeWorkflowStatus
.- Returns:
- The status of the workflow
-
getName
String getName()The unique name identifier for this workflow. This name should match the Spring bean name for theSimpleWorkflow
instance.- Returns:
- The unique name identifier for this workflow
-
getDescription
String getDescription()A short description of the purpose of this workflow.- Returns:
- A short description of the purpose of this workflow
-
getLastException
String getLastException()The most recent exception that took place during a previous workflow execution.- Returns:
- The most recent exception
-
getLaunchToken
String getLaunchToken()Token associated with the workflow to correlate with messaging. The same token is associated with a message requesting action on the workflow. At the time of consumption, if the token on the workflow does not match the token on the message, then the message is dropped, and it is assumed the state of the workflow changed with a new, forthcoming message.- Returns:
- Token associated with the workflow to correlate with messaging
-
getContextValues
Set<JpaContextValue> getContextValues()Key/Value pairs of information passed to the workflow when it was started.- Returns:
- Key/Value pairs of information
-
setStatus
The status of the workflow. SeeWorkflowStatus
.- Parameters:
status
- The status of the workflow
-
setLastException
The most recent exception that took place during a previous workflow execution.- Parameters:
lastException
- The most recent exception
-
setLastStepName
The name of the most recent activity that is presumed to be in-process- Parameters:
lastStepName
- The name of the most recent activity that is presumed to be in-process
-
setLastStepTimeout
The timestamp at which the workflow will have exceeded the timeout boundary for activity execution for the activity identified bysetLastStepName(String)
.- Parameters:
timeout
- The timestamp at which the workflow will have exceeded the timeout boundary
-