public class ExecutionImpl extends Object implements Serializable, ActivityExecution, ExecutionListenerExecution, PvmExecution, InterpretableExecution
| Modifier and Type | Field and Description |
|---|---|
protected ActivityImpl |
activity
current activity
|
protected org.flowable.bpmn.model.FlowElement |
currentFlowElement |
protected String |
deleteReason |
protected boolean |
deleteRoot |
protected String |
eventName |
protected PvmProcessElement |
eventSource |
protected int |
executionListenerIndex |
protected List<ExecutionImpl> |
executions
nested executions representing scopes or concurrent paths
|
protected boolean |
isActive
indicates if this execution represents an active path of execution.
|
protected boolean |
isConcurrent |
protected boolean |
isEnded |
protected boolean |
isEventScope |
protected boolean |
isOperating |
protected boolean |
isScope |
protected AtomicOperation |
nextOperation
next operation.
|
protected ExecutionImpl |
parent
the parent execution
|
protected ProcessDefinitionImpl |
processDefinition |
protected ExecutionImpl |
processInstance
the process instance.
|
protected ExecutionImpl |
replacedBy
when execution structure is pruned during a takeAll, then the original execution has to be resolved to the replaced execution.
|
protected StartingExecution |
startingExecution
only available until the process instance is started
|
protected ExecutionImpl |
subProcessInstance
reference to a subprocessinstance, not-null if currently subprocess is started from this execution
|
protected ExecutionImpl |
superExecution
super execution, not-null if this execution is part of a subprocess
|
protected TransitionImpl |
transition
current transition.
|
protected Map<String,Object> |
variables |
| Constructor and Description |
|---|
ExecutionImpl() |
ExecutionImpl(ActivityImpl initial) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectActiveActivityIds(List<String> activeActivityIds) |
protected void |
collectVariables(Map<String,Object> collectedVariables) |
ExecutionImpl |
createExecution()
creates a new execution.
|
PvmProcessInstance |
createSubProcessInstance(PvmProcessDefinition processDefinition)
creates a new sub process instance.
|
void |
createVariableLocal(String variableName,
Object value) |
void |
createVariablesLocal(Map<String,? extends Object> variables) |
void |
deleteCascade(String deleteReason) |
void |
deleteVariablesLocal() |
void |
destroy() |
void |
destroyScope(String reason)
Called when an execution is interrupted.
|
void |
disposeStartingExecution() |
void |
end()
removes an execution.
|
protected void |
ensureActivityInitialized()
must be called before the activity member field or getActivity() is called
|
protected void |
ensureExecutionsInitialized()
must be called before memberfield executions is used.
|
protected void |
ensureParentInitialized()
must be called before memberfield parent is used.
|
protected void |
ensureProcessDefinitionInitialized() |
protected void |
ensureProcessInstanceInitialized()
must be called before memberfield processInstance is used.
|
protected void |
ensureScopeInitialized() |
protected void |
ensureSubProcessInstanceInitialized() |
protected void |
ensureSuperExecutionInitialized() |
protected void |
ensureVariablesInitialized() |
void |
executeActivity(PvmActivity activity)
Executes the
ActivityBehavior associated with the given activity. |
List<String> |
findActiveActivityIds() |
ExecutionImpl |
findExecution(String activityId)
searches for an execution positioned in the given activity
|
List<ActivityExecution> |
findInactiveConcurrentExecutions(PvmActivity activity)
Retrieves all executions which are concurrent and inactive at the given activity.
|
ActivityImpl |
getActivity()
ensures initialization and returns the activity
|
String |
getBusinessKey() |
String |
getCurrentActivityId() |
String |
getCurrentActivityName() |
org.flowable.bpmn.model.FlowableListener |
getCurrentFlowableListener() |
org.flowable.bpmn.model.FlowElement |
getCurrentFlowElement() |
String |
getDeleteReason() |
String |
getEventName() |
PvmProcessElement |
getEventSource() |
Integer |
getExecutionListenerIndex() |
List<ExecutionImpl> |
getExecutions()
ensures initialization and returns the non-null executions list
|
String |
getId() |
ExecutionImpl |
getParent()
ensures initialization and returns the parent
|
String |
getParentId() |
ProcessDefinitionImpl |
getProcessDefinition()
ensures initialization and returns the process definition.
|
String |
getProcessDefinitionId() |
ExecutionImpl |
getProcessInstance()
ensures initialization and returns the process instance.
|
String |
getProcessInstanceBusinessKey() |
String |
getProcessInstanceId() |
ExecutionImpl |
getReplacedBy() |
String |
getRootProcessInstanceId() |
StartingExecution |
getStartingExecution() |
ExecutionImpl |
getSubProcessInstance() |
ExecutionImpl |
getSuperExecution() |
String |
getSuperExecutionId() |
String |
getTenantId() |
protected String |
getToStringIdentity() |
Object |
getTransientVariable(String variableName) |
Object |
getTransientVariableLocal(String variableName) |
Map<String,Object> |
getTransientVariables() |
Map<String,Object> |
getTransientVariablesLocal() |
TransitionImpl |
getTransition() |
Object |
getVariable(String variableName) |
Object |
getVariable(String variableName,
boolean fetchAllVariables) |
<T> T |
getVariable(String variableName,
Class<T> variableClass) |
org.flowable.variable.api.persistence.entity.VariableInstance |
getVariableInstance(String variableName) |
org.flowable.variable.api.persistence.entity.VariableInstance |
getVariableInstance(String variableName,
boolean fetchAllVariables) |
VariableInstanceEntity |
getVariableInstanceLocal(String variableName) |
VariableInstanceEntity |
getVariableInstanceLocal(String variableName,
boolean fetchAllVariables) |
Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> |
getVariableInstances() |
Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> |
getVariableInstances(Collection<String> variableNames) |
Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> |
getVariableInstances(Collection<String> variableNames,
boolean fetchAllVariables) |
Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> |
getVariableInstancesLocal() |
Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> |
getVariableInstancesLocal(Collection<String> variableNames) |
Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> |
getVariableInstancesLocal(Collection<String> variableNames,
boolean fetchAllVariables) |
Object |
getVariableLocal(String variableName) |
Object |
getVariableLocal(String variableName,
boolean fetchAllVariables) |
<T> T |
getVariableLocal(String variableName,
Class<T> variableClass) |
Set<String> |
getVariableNames() |
Set<String> |
getVariableNamesLocal() |
Map<String,Object> |
getVariables() |
Map<String,Object> |
getVariables(Collection<String> variableNames) |
Map<String,Object> |
getVariables(Collection<String> variableNames,
boolean fetchAllVariables) |
Map<String,Object> |
getVariablesLocal() |
Map<String,Object> |
getVariablesLocal(Collection<String> variableNames) |
Map<String,Object> |
getVariablesLocal(Collection<String> variableNames,
boolean fetchAllVariables) |
boolean |
hasVariable(String variableName) |
boolean |
hasVariableLocal(String variableName) |
boolean |
hasVariables() |
boolean |
hasVariablesLocal() |
void |
inactivate()
Inactivates this execution.
|
void |
initialize() |
boolean |
isActive()
returns whether this execution is currently active.
|
boolean |
isActive(String activityId) |
boolean |
isConcurrent()
returns whether this execution is concurrent or not.
|
boolean |
isDeleteRoot() |
boolean |
isEnded()
returns whether this execution has ended or not.
|
boolean |
isEventScope() |
boolean |
isMultiInstanceRoot() |
boolean |
isProcessInstanceType()
returns whether this execution is a process instance or not.
|
boolean |
isScope()
Returns whether this execution is a scope.
|
protected ExecutionImpl |
newExecution()
instantiates a new execution.
|
void |
performOperation(AtomicOperation executionOperation) |
void |
remove() |
void |
removeTransientVariable(String variableName) |
void |
removeTransientVariableLocal(String variableName) |
void |
removeTransientVariables() |
void |
removeTransientVariablesLocal() |
void |
removeVariable(String variableName) |
void |
removeVariableLocal(String variableName) |
void |
removeVariables() |
void |
removeVariables(Collection<String> variableNames) |
void |
removeVariablesLocal() |
void |
removeVariablesLocal(Collection<String> variableNames) |
void |
setActive(boolean isActive)
makes this execution active or inactive.
|
void |
setActivity(ActivityImpl activity)
sets the current activity.
|
void |
setConcurrent(boolean isConcurrent)
changes the concurrent indicator on this execution.
|
void |
setCurrentFlowableListener(org.flowable.bpmn.model.FlowableListener currentListener) |
void |
setCurrentFlowElement(org.flowable.bpmn.model.FlowElement currentFlowElement) |
void |
setDeleteReason(String deleteReason) |
void |
setEnded(boolean ended)
Sets whether this execution is ended or not.
|
void |
setEventName(String eventName) |
void |
setEventScope(boolean isEventScope) |
void |
setEventSource(PvmProcessElement eventSource) |
void |
setExecutionListenerIndex(Integer executionListenerIndex) |
void |
setExecutions(List<ExecutionImpl> executions) |
void |
setMultiInstanceRoot(boolean isMultiInstanceRoot) |
void |
setParent(InterpretableExecution parent)
all updates need to go through this setter as subclasses can override this method
|
void |
setProcessDefinition(ProcessDefinitionImpl processDefinition) |
void |
setProcessInstance(InterpretableExecution processInstance)
for setting the process instance, this setter must be used as subclasses can override
|
void |
setReplacedBy(InterpretableExecution replacedBy) |
void |
setScope(boolean isScope)
Changes whether this execution is a scope or not
|
void |
setSubProcessInstance(InterpretableExecution subProcessInstance) |
void |
setSuperExecution(ExecutionImpl superExecution) |
void |
setTransientVariable(String variableName,
Object variableValue) |
void |
setTransientVariableLocal(String variableName,
Object variableValue) |
void |
setTransientVariables(Map<String,Object> transientVariables) |
void |
setTransientVariablesLocal(Map<String,Object> transientVariables) |
void |
setTransition(TransitionImpl transition) |
void |
setVariable(String variableName,
Object value) |
void |
setVariable(String variableName,
Object value,
boolean fetchAllVariables) |
Object |
setVariableLocal(String variableName,
Object value) |
Object |
setVariableLocal(String variableName,
Object value,
boolean fetchAllVariables) |
void |
setVariableLocally(String variableName,
Object value) |
void |
setVariables(Map<String,? extends Object> variables) |
void |
setVariablesLocal(Map<String,? extends Object> variables) |
void |
signal(String signalName,
Object signalData) |
void |
start() |
void |
take(PvmTransition transition)
leaves the current activity by taking the given transition.
|
void |
take(PvmTransition transition,
boolean fireActivityCompletedEvent) |
void |
takeAll(List<PvmTransition> transitions,
List<ActivityExecution> recyclableExecutions)
Takes the given outgoing transitions, and potentially reusing the given list of executions that were previously joined.
|
String |
toString() |
String |
updateProcessBusinessKey(String bzKey) |
protected ProcessDefinitionImpl processDefinition
protected ActivityImpl activity
protected org.flowable.bpmn.model.FlowElement currentFlowElement
protected TransitionImpl transition
protected ExecutionImpl processInstance
protected ExecutionImpl parent
protected List<ExecutionImpl> executions
protected ExecutionImpl superExecution
protected ExecutionImpl subProcessInstance
protected StartingExecution startingExecution
protected boolean isActive
protected boolean isScope
protected boolean isConcurrent
protected boolean isEnded
protected boolean isEventScope
protected String eventName
protected PvmProcessElement eventSource
protected int executionListenerIndex
protected boolean deleteRoot
protected String deleteReason
protected ExecutionImpl replacedBy
{@link OutgoingExecution}protected AtomicOperation nextOperation
AtomicOperation,
performOperation(AtomicOperation)protected boolean isOperating
public ExecutionImpl()
public ExecutionImpl(ActivityImpl initial)
public ExecutionImpl createExecution()
createExecution in interface ActivityExecutionprotected ExecutionImpl newExecution()
public PvmProcessInstance createSubProcessInstance(PvmProcessDefinition processDefinition)
ActivityExecutioncreateSubProcessInstance in interface ActivityExecutionprocessDefinition - The PvmProcessDefinition of the subprocess.public void initialize()
initialize in interface InterpretableExecutionpublic void destroy()
destroy in interface InterpretableExecutionpublic void remove()
remove in interface InterpretableExecutionpublic void destroyScope(String reason)
ActivityExecutiondestroyScope in interface ActivityExecutionpublic ExecutionImpl getParent()
getParent in interface ActivityExecutiongetParent in interface DelegateExecutionpublic String getSuperExecutionId()
getSuperExecutionId in interface DelegateExecutionpublic String getParentId()
getParentId in interface DelegateExecutionpublic void setParent(InterpretableExecution parent)
setParent in interface InterpretableExecutionprotected void ensureParentInitialized()
public List<ExecutionImpl> getExecutions()
getExecutions in interface ActivityExecutiongetExecutions in interface DelegateExecutionpublic ExecutionImpl getSuperExecution()
getSuperExecution in interface InterpretableExecutionpublic void setSuperExecution(ExecutionImpl superExecution)
protected void ensureSuperExecutionInitialized()
public ExecutionImpl getSubProcessInstance()
getSubProcessInstance in interface InterpretableExecutionpublic void setSubProcessInstance(InterpretableExecution subProcessInstance)
setSubProcessInstance in interface InterpretableExecutionprotected void ensureSubProcessInstanceInitialized()
public void deleteCascade(String deleteReason)
deleteCascade in interface PvmProcessInstancedeleteCascade in interface InterpretableExecutionpublic void end()
end in interface ActivityExecutionpublic ExecutionImpl findExecution(String activityId)
findExecution in interface PvmProcessInstancepublic List<String> findActiveActivityIds()
findActiveActivityIds in interface PvmProcessInstanceprotected void ensureExecutionsInitialized()
public ProcessDefinitionImpl getProcessDefinition()
getProcessDefinition in interface InterpretableExecutionpublic String getProcessDefinitionId()
getProcessDefinitionId in interface DelegateExecutionprotected void ensureProcessDefinitionInitialized()
public ExecutionImpl getProcessInstance()
getProcessInstance in interface ActivityExecutionpublic String getProcessInstanceId()
getProcessInstanceId in interface DelegateExecutionpublic String getRootProcessInstanceId()
getRootProcessInstanceId in interface DelegateExecutionpublic String getBusinessKey()
public String getProcessInstanceBusinessKey()
getProcessInstanceBusinessKey in interface DelegateExecutionpublic void setProcessInstance(InterpretableExecution processInstance)
setProcessInstance in interface InterpretableExecutionprotected void ensureProcessInstanceInitialized()
public org.flowable.bpmn.model.FlowElement getCurrentFlowElement()
getCurrentFlowElement in interface DelegateExecutionpublic void setCurrentFlowElement(org.flowable.bpmn.model.FlowElement currentFlowElement)
setCurrentFlowElement in interface DelegateExecutionpublic org.flowable.bpmn.model.FlowableListener getCurrentFlowableListener()
getCurrentFlowableListener in interface DelegateExecutionpublic void setCurrentFlowableListener(org.flowable.bpmn.model.FlowableListener currentListener)
setCurrentFlowableListener in interface DelegateExecutionpublic ActivityImpl getActivity()
getActivity in interface ActivityExecutiongetActivity in interface PvmExecutionpublic void setActivity(ActivityImpl activity)
setActivity in interface InterpretableExecutionprotected void ensureActivityInitialized()
protected void ensureScopeInitialized()
public boolean isScope()
ActivityExecutionisScope in interface ActivityExecutionisScope in interface InterpretableExecutionisScope in interface DelegateExecutionpublic void setScope(boolean isScope)
ActivityExecutionsetScope in interface ActivityExecutionsetScope in interface DelegateExecutionpublic void start()
start in interface PvmProcessInstancepublic void signal(String signalName, Object signalData)
signal in interface PvmExecutionpublic void take(PvmTransition transition, boolean fireActivityCompletedEvent)
take in interface InterpretableExecutionpublic void take(PvmTransition transition)
ActivityExecutiontake in interface ActivityExecutiontake in interface InterpretableExecutionpublic void executeActivity(PvmActivity activity)
ActivityExecutionActivityBehavior associated with the given activity.executeActivity in interface ActivityExecutionpublic List<ActivityExecution> findInactiveConcurrentExecutions(PvmActivity activity)
ActivityExecutionfindInactiveConcurrentExecutions in interface ActivityExecutionpublic void takeAll(List<PvmTransition> transitions, List<ActivityExecution> recyclableExecutions)
ActivityExecutiontakeAll in interface ActivityExecutionpublic void performOperation(AtomicOperation executionOperation)
performOperation in interface InterpretableExecutionpublic boolean isActive(String activityId)
public Object getVariable(String variableName)
getVariable in interface PvmExecutiongetVariable in interface org.flowable.common.engine.api.variable.VariableContainergetVariable in interface org.flowable.variable.api.delegate.VariableScopepublic Object getVariable(String variableName, boolean fetchAllVariables)
getVariable in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,Object> getVariables()
getVariables in interface PvmExecutiongetVariables in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,Object> getVariables(Collection<String> variableNames)
getVariables in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,Object> getVariables(Collection<String> variableNames, boolean fetchAllVariables)
getVariables in interface org.flowable.variable.api.delegate.VariableScopepublic void setVariables(Map<String,? extends Object> variables)
setVariables in interface org.flowable.variable.api.delegate.VariableScopepublic void setVariable(String variableName, Object value)
setVariable in interface PvmExecutionsetVariable in interface org.flowable.common.engine.api.variable.VariableContainersetVariable in interface org.flowable.variable.api.delegate.VariableScopepublic void setVariable(String variableName, Object value, boolean fetchAllVariables)
setVariable in interface org.flowable.variable.api.delegate.VariableScopepublic Object setVariableLocal(String variableName, Object value, boolean fetchAllVariables)
setVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic boolean hasVariable(String variableName)
hasVariable in interface PvmExecutionhasVariable in interface org.flowable.common.engine.api.variable.VariableContainerhasVariable in interface org.flowable.variable.api.delegate.VariableScopeprotected void ensureVariablesInitialized()
protected String getToStringIdentity()
public boolean isProcessInstanceType()
ActivityExecutionisProcessInstanceType in interface ActivityExecutionisProcessInstanceType in interface DelegateExecutionpublic void inactivate()
ActivityExecutioninactivate in interface ActivityExecutioninactivate in interface DelegateExecutionpublic String getId()
getId in interface DelegateExecutionpublic TransitionImpl getTransition()
getTransition in interface InterpretableExecutionpublic void setTransition(TransitionImpl transition)
setTransition in interface InterpretableExecutionpublic Integer getExecutionListenerIndex()
getExecutionListenerIndex in interface InterpretableExecutionpublic void setExecutionListenerIndex(Integer executionListenerIndex)
setExecutionListenerIndex in interface InterpretableExecutionpublic boolean isConcurrent()
ActivityExecutionisConcurrent in interface ActivityExecutionisConcurrent in interface DelegateExecutionpublic void setConcurrent(boolean isConcurrent)
ActivityExecutionsetConcurrent in interface ActivityExecutionsetConcurrent in interface DelegateExecutionpublic boolean isActive()
ActivityExecutionisActive in interface ActivityExecutionisActive in interface DelegateExecutionpublic void setActive(boolean isActive)
ActivityExecutionsetActive in interface ActivityExecutionsetActive in interface DelegateExecutionpublic boolean isEnded()
ActivityExecutionisEnded in interface ActivityExecutionisEnded in interface PvmProcessInstanceisEnded in interface DelegateExecutionpublic void setEnded(boolean ended)
ActivityExecutionActivityExecution.end() to set the boolean and execution removal methods.setEnded in interface ActivityExecutionpublic void setProcessDefinition(ProcessDefinitionImpl processDefinition)
setProcessDefinition in interface InterpretableExecutionpublic String getEventName()
getEventName in interface ExecutionListenerExecutiongetEventName in interface DelegateExecutionpublic void setEventName(String eventName)
setEventName in interface InterpretableExecutionsetEventName in interface DelegateExecutionpublic PvmProcessElement getEventSource()
getEventSource in interface ExecutionListenerExecutionpublic void setEventSource(PvmProcessElement eventSource)
setEventSource in interface InterpretableExecutionpublic String getDeleteReason()
getDeleteReason in interface ExecutionListenerExecutionpublic void setDeleteReason(String deleteReason)
public ExecutionImpl getReplacedBy()
getReplacedBy in interface InterpretableExecutionpublic void setReplacedBy(InterpretableExecution replacedBy)
setReplacedBy in interface InterpretableExecutionpublic void setExecutions(List<ExecutionImpl> executions)
public boolean isDeleteRoot()
isDeleteRoot in interface InterpretableExecutionpublic String getCurrentActivityId()
getCurrentActivityId in interface DelegateExecutionpublic String getCurrentActivityName()
public Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> getVariableInstances()
getVariableInstances in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> getVariableInstances(Collection<String> variableNames)
getVariableInstances in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> getVariableInstances(Collection<String> variableNames, boolean fetchAllVariables)
getVariableInstances in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> getVariableInstancesLocal()
getVariableInstancesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> getVariableInstancesLocal(Collection<String> variableNames)
getVariableInstancesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> getVariableInstancesLocal(Collection<String> variableNames, boolean fetchAllVariables)
getVariableInstancesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic org.flowable.variable.api.persistence.entity.VariableInstance getVariableInstance(String variableName)
getVariableInstance in interface org.flowable.variable.api.delegate.VariableScopepublic org.flowable.variable.api.persistence.entity.VariableInstance getVariableInstance(String variableName, boolean fetchAllVariables)
getVariableInstance in interface org.flowable.variable.api.delegate.VariableScopepublic Object getVariableLocal(String variableName)
getVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic VariableInstanceEntity getVariableInstanceLocal(String variableName)
getVariableInstanceLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Object getVariableLocal(String variableName, boolean fetchAllVariables)
getVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic VariableInstanceEntity getVariableInstanceLocal(String variableName, boolean fetchAllVariables)
getVariableInstanceLocal in interface org.flowable.variable.api.delegate.VariableScopepublic <T> T getVariable(String variableName, Class<T> variableClass)
getVariable in interface org.flowable.variable.api.delegate.VariableScopepublic <T> T getVariableLocal(String variableName, Class<T> variableClass)
getVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Set<String> getVariableNames()
getVariableNames in interface org.flowable.variable.api.delegate.VariableScopepublic Set<String> getVariableNamesLocal()
getVariableNamesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,Object> getVariablesLocal()
getVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,Object> getVariablesLocal(Collection<String> variableNames)
getVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,Object> getVariablesLocal(Collection<String> variableNames, boolean fetchAllVariables)
getVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic boolean hasVariableLocal(String variableName)
hasVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic boolean hasVariables()
hasVariables in interface org.flowable.variable.api.delegate.VariableScopepublic boolean hasVariablesLocal()
hasVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void removeVariable(String variableName)
removeVariable in interface org.flowable.variable.api.delegate.VariableScopepublic void removeVariableLocal(String variableName)
removeVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void removeVariables(Collection<String> variableNames)
removeVariables in interface org.flowable.variable.api.delegate.VariableScopepublic void removeVariablesLocal(Collection<String> variableNames)
removeVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void removeVariables()
removeVariables in interface org.flowable.variable.api.delegate.VariableScopepublic void removeVariablesLocal()
removeVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void deleteVariablesLocal()
public Object setVariableLocal(String variableName, Object value)
setVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void setVariablesLocal(Map<String,? extends Object> variables)
setVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic boolean isEventScope()
isEventScope in interface InterpretableExecutionpublic void setEventScope(boolean isEventScope)
setEventScope in interface InterpretableExecutionpublic StartingExecution getStartingExecution()
getStartingExecution in interface InterpretableExecutionpublic void disposeStartingExecution()
disposeStartingExecution in interface InterpretableExecutionpublic String getTenantId()
getTenantId in interface DelegateExecutionpublic boolean isMultiInstanceRoot()
isMultiInstanceRoot in interface DelegateExecutionpublic void setMultiInstanceRoot(boolean isMultiInstanceRoot)
setMultiInstanceRoot in interface DelegateExecutionpublic void setTransientVariablesLocal(Map<String,Object> transientVariables)
setTransientVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void setTransientVariableLocal(String variableName, Object variableValue)
setTransientVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void setTransientVariables(Map<String,Object> transientVariables)
setTransientVariables in interface org.flowable.variable.api.delegate.VariableScopepublic void setTransientVariable(String variableName, Object variableValue)
setTransientVariable in interface org.flowable.common.engine.api.variable.VariableContainersetTransientVariable in interface org.flowable.variable.api.delegate.VariableScopepublic Object getTransientVariableLocal(String variableName)
getTransientVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,Object> getTransientVariablesLocal()
getTransientVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic Object getTransientVariable(String variableName)
getTransientVariable in interface org.flowable.variable.api.delegate.VariableScopepublic Map<String,Object> getTransientVariables()
getTransientVariables in interface org.flowable.variable.api.delegate.VariableScopepublic void removeTransientVariableLocal(String variableName)
removeTransientVariableLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void removeTransientVariablesLocal()
removeTransientVariablesLocal in interface org.flowable.variable.api.delegate.VariableScopepublic void removeTransientVariable(String variableName)
removeTransientVariable in interface org.flowable.variable.api.delegate.VariableScopepublic void removeTransientVariables()
removeTransientVariables in interface org.flowable.variable.api.delegate.VariableScopeCopyright © 2018 Flowable. All rights reserved.