public class WorkflowInstance extends ModelObject
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowInstance.Builder
Builder for workflow instance.
|
static class |
WorkflowInstance.WorkflowInstanceStatus
Describes the status for workflow instance.
|
Modifier and Type | Field and Description |
---|---|
List<WorkflowInstanceAction> |
actions
The list of actions.
|
String |
businessKey
Business key.
|
Map<Integer,List<Integer>> |
childWorkflows
Child workflow instance IDs created by this workflow instance, grouped by instance action ID.
|
org.joda.time.DateTime |
created
The workflow instance creation time.
|
String |
executorGroup
The name of the executor group for this workflow instance.
|
Integer |
executorId
The id of executor that is currently processing this workflow.
|
String |
externalId
External identifier of the workflow instance.
|
Integer |
id
The workflow instance identifier.
|
org.joda.time.DateTime |
modified
The last modification time of the workflow instance.
|
org.joda.time.DateTime |
nextActivation
The next activation time for the workflow instance.
|
Map<String,String> |
originalStateVariables
The state variable values before executor started processing the state.
|
Integer |
parentActionId
The id of the workflow action that created this sub workflow.
|
Integer |
parentWorkflowId
The id of the workflow that created this sub workflow.
|
int |
retries
Number of retry attempts of the current state.
|
Integer |
rootWorkflowId
The id of the workflow that created the hierarchy of workflow where this sub workflow belongs to.
|
Optional<Integer> |
signal
The signal raised for this workflow instance.
|
org.joda.time.DateTime |
started
Time when workflow processing was started, that is, time when processing of first
action started.
|
String |
state
The name of the current state.
|
String |
stateText
The description of the last action executed by the workflow.
|
Map<String,String> |
stateVariables
The state variables.
|
WorkflowInstance.WorkflowInstanceStatus |
status
The current status of the workflow instance.
|
String |
type
The type of the workflow definition.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getChangedStateVariables()
Return the state variables that have been added or modified during state processing.
|
String |
getStateVariable(String name) |
<T> T |
getStateVariable(String name,
Class<T> valueType) |
<T> T |
getStateVariable(String name,
Class<T> valueType,
T defaultValue) |
String |
getStateVariable(String name,
String defaultValue) |
equals, hashCode, toString
public final Integer id
public final Integer executorId
public final Integer rootWorkflowId
public final Integer parentWorkflowId
public final Integer parentActionId
public final WorkflowInstance.WorkflowInstanceStatus status
public final String type
public final String businessKey
public final String externalId
public final String state
public final String stateText
public final org.joda.time.DateTime nextActivation
public final Map<String,String> stateVariables
public final Map<String,String> originalStateVariables
public final List<WorkflowInstanceAction> actions
public final int retries
public final org.joda.time.DateTime created
public final org.joda.time.DateTime modified
public final org.joda.time.DateTime started
public final String executorGroup
Copyright © 2014–2018 Nitor Creations. All rights reserved.