|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.persistence.entity.VariableScopeImpl
org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity
public class ExecutionEntity
| Field Summary | |
|---|---|
protected ActivityImpl |
activity
current activity |
protected String |
activityId
persisted reference to the current position in the diagram within the processDefinition. |
protected String |
activityInstanceId
the unique id of the current activity instance |
protected int |
activityInstanceState
marks the current activity instance |
protected String |
activityName
The name of the current activity position |
protected String |
businessKey
persisted reference to the business key. |
protected int |
cachedEntityState
|
protected String |
deleteReason
|
protected boolean |
deleteRoot
|
protected static int |
EVENT_SUBSCRIPTIONS_STATE_BIT
|
protected String |
eventName
|
protected PvmProcessElement |
eventSource
|
protected List<EventSubscriptionEntity> |
eventSubscriptions
|
protected int |
executionListenerIndex
|
protected List<ExecutionEntity> |
executions
nested executions representing scopes or concurrent paths |
protected boolean |
forcedUpdate
|
protected static int |
INCIDENT_STATE_BIT
|
protected List<IncidentEntity> |
incidents
|
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 List<JobEntity> |
jobs
|
protected static int |
JOBS_STATE_BIT
|
protected PvmActivity |
nextActivity
an activity which is to be started next |
protected AtomicOperation |
nextOperation
next operation. |
protected ExecutionEntity |
parent
the parent execution |
protected String |
parentId
persisted reference to the parent of this execution. |
protected ProcessDefinitionImpl |
processDefinition
|
protected String |
processDefinitionId
persisted reference to the processDefinition. |
protected ExecutionEntity |
processInstance
the process instance. |
protected String |
processInstanceId
persisted reference to the process instance. |
protected ProcessInstanceStartContext |
processInstanceStartContext
|
protected ExecutionEntity |
replacedBy
when execution structure is pruned during a takeAll, then the original execution has to be resolved to the replaced execution. |
protected int |
revision
|
protected ExecutionEntity |
subProcessInstance
reference to a subprocessinstance, not-null if currently subprocess is started from this execution |
protected ExecutionEntity |
superExecution
super execution, not-null if this execution is part of a subprocess |
protected String |
superExecutionId
persisted reference to the super execution of this execution |
protected int |
suspensionState
|
protected List<TaskEntity> |
tasks
|
protected static int |
TASKS_STATE_BIT
|
protected TransitionImpl |
transition
current transition. |
protected TransitionImpl |
transitionBeingTaken
transition that will be taken. |
| Fields inherited from class org.camunda.bpm.engine.impl.persistence.entity.VariableScopeImpl |
|---|
cachedElContext, id, variableInstances |
| Constructor Summary | |
|---|---|
ExecutionEntity()
|
|
ExecutionEntity(ActivityImpl activityImpl)
|
|
| Method Summary | |
|---|---|
void |
addEventSubscription(EventSubscriptionEntity eventSubscriptionEntity)
|
void |
addIncident(IncidentEntity incident)
|
void |
addJob(JobEntity jobEntity)
|
void |
addTask(TaskEntity taskEntity)
|
protected boolean |
allExecutionsInSameActivity(List<ExecutionEntity> executions)
|
void |
cancelScope(String reason)
Called when a scope is cancelled. |
protected void |
collectActiveActivityIds(List<String> activeActivityIds)
|
ExecutionEntity |
createExecution()
creates a new execution. |
PvmProcessInstance |
createSubProcessInstance(PvmProcessDefinition processDefinition)
creates a new sub process instance. |
PvmProcessInstance |
createSubProcessInstance(PvmProcessDefinition processDefinition,
String businessKey)
|
void |
deleteCascade(String deleteReason)
|
void |
deleteCascade2(String deleteReason)
|
void |
destroy()
|
void |
disposeProcessInstanceStartContext()
|
void |
end(boolean completeScope)
removes an execution. |
protected void |
ensureActivityInitialized()
must be called before the activity member field or getActivity() is called |
protected void |
ensureEventSubscriptionsInitialized()
|
protected void |
ensureExecutionsInitialized()
|
protected void |
ensureIncidentsInitialized()
|
protected void |
ensureJobsInitialized()
|
protected void |
ensureNotSuspended()
|
protected void |
ensureParentInitialized()
|
protected void |
ensureProcessDefinitionInitialized()
for setting the process definition, this setter must be used as subclasses can override |
protected void |
ensureProcessInstanceInitialized()
|
protected void |
ensureSubProcessInstanceInitialized()
|
protected void |
ensureSuperExecutionInitialized()
|
protected void |
ensureTasksInitialized()
|
void |
enterActivityInstance()
invoked to notify the execution that a new activity instance is started |
void |
executeActivity(PvmActivity activity)
Executes the ActivityBehavior associated with the given activity. |
List<String> |
findActiveActivityIds()
|
ExecutionEntity |
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. |
void |
fireHistoricVariableInstanceCreateEvents()
|
void |
forceUpdate()
|
void |
forceUpdateActivityInstance()
|
protected String |
generateActivityInstanceId(String activityId)
generates an activity instance id |
ActivityImpl |
getActivity()
ensures initialization and returns the activity |
String |
getActivityId()
|
String |
getActivityInstanceId()
return the Id of the activity instance currently executed by this execution |
int |
getActivityInstanceState()
|
protected List<ExecutionEntity> |
getAllChildExecutions()
|
String |
getBusinessKey()
The business key for this execution. |
int |
getCachedEntityState()
|
List<CompensateEventSubscriptionEntity> |
getCompensateEventSubscriptions()
|
List<CompensateEventSubscriptionEntity> |
getCompensateEventSubscriptions(String activityId)
|
String |
getCurrentActivityId()
Gets the id of the current activity. |
String |
getCurrentActivityName()
Gets the name of the current activity. |
String |
getCurrentTransitionId()
return the Id of the current transition |
String |
getDeleteReason()
|
String |
getEventName()
The event name in case this execution is passed in for an ExecutionListener |
PvmProcessElement |
getEventSource()
|
List<EventSubscriptionEntity> |
getEventSubscriptions()
|
List<EventSubscriptionEntity> |
getEventSubscriptionsInternal()
|
Integer |
getExecutionListenerIndex()
|
List<ExecutionEntity> |
getExecutions()
ensures initialization and returns the non-null executions list |
String |
getId()
Unique id of this path of execution that can be used as a handle to provide external signals back into the engine after wait states. |
IncidentEntity |
getIncidentByCauseIncidentId(String causeIncidentId)
|
List<IncidentEntity> |
getIncidents()
|
protected List<IncidentEntity> |
getIncidentsInternal()
|
List<JobEntity> |
getJobs()
|
protected List<JobEntity> |
getJobsInternal()
|
PvmActivity |
getNextActivity()
An activity which is to be started next. |
ExecutionEntity |
getParent()
ensures initialization and returns the parent |
String |
getParentActivityInstanceId()
return the Id of the parent activity instance currently executed by this execution |
String |
getParentId()
Gets the id of the parent of this execution. |
protected VariableScopeImpl |
getParentVariableScope()
|
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database. |
String |
getProcessBusinessKey()
The business key for the process instance this execution is associated with. |
ProcessDefinitionImpl |
getProcessDefinition()
ensures initialization and returns the process definition. |
String |
getProcessDefinitionId()
The process definition key for the process instance this execution is associated with. |
ExecutionEntity |
getProcessInstance()
ensures initialization and returns the process instance. |
String |
getProcessInstanceId()
Reference to the overall process instance |
ProcessInstanceStartContext |
getProcessInstanceStartContext()
|
ExecutionEntity |
getReplacedBy()
|
int |
getRevision()
|
int |
getRevisionNext()
|
protected ScopeImpl |
getScopeActivity()
|
protected ExecutionEntity |
getSourceActivityExecution()
used to calculate the sourceActivityExecution |
ExecutionEntity |
getSubProcessInstance()
|
ExecutionEntity |
getSuperExecution()
|
String |
getSuperExecutionId()
|
int |
getSuspensionState()
|
List<TaskEntity> |
getTasks()
|
protected List<TaskEntity> |
getTasksInternal()
|
protected String |
getToStringIdentity()
|
TransitionImpl |
getTransition()
|
TransitionImpl |
getTransitionBeingTaken()
|
protected boolean |
hasConcurrentSiblings(ExecutionEntity concurrentRoot)
|
void |
inactivate()
Inactivates this execution. |
void |
initialize()
|
protected void |
initializeVariableInstanceBackPointer(VariableInstanceEntity variableInstance)
|
void |
insert()
|
void |
interruptScope(String reason)
Called when an execution is interrupted. |
boolean |
isActive()
returns whether this execution is currently active. |
boolean |
isActive(String activityId)
|
protected boolean |
isAutoFireHistoryEvents()
|
boolean |
isCanceled()
Returns whether this execution has been canceled. |
boolean |
isCompleteScope()
Returns whether this execution completed the parent scope. |
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 |
isProcessInstance()
returns whether this execution is a process instance or not. |
boolean |
isScope()
Returns whether this execution is a scope. |
boolean |
isSuspended()
Indicates if the execution is suspended. |
void |
leaveActivityInstance()
invoked to notify the execution that an activity instance is ended. |
protected List<VariableInstanceEntity> |
loadVariableInstances()
|
protected ExecutionEntity |
newExecution()
|
void |
performOperation(AtomicOperation executionOperation)
|
void |
performOperationSync(AtomicOperation executionOperation)
|
void |
remove()
|
void |
removeEventSubscription(EventSubscriptionEntity eventSubscriptionEntity)
|
void |
removeEventSubscriptions()
|
void |
removeIncident(IncidentEntity incident)
|
void |
removeJob(JobEntity job)
|
void |
removeTask(TaskEntity task)
|
void |
replace(InterpretableExecution execution)
|
protected boolean |
requiresUnsuspendedExecution(AtomicOperation executionOperation)
|
protected void |
scheduleAtomicOperationAsync(AtomicOperation executionOperation)
|
void |
setActive(boolean isActive)
makes this execution active or inactive. |
void |
setActivity(PvmActivity activity)
|
void |
setActivityInstanceId(String activityInstanceId)
|
void |
setBusinessKey(String businessKey)
|
void |
setCachedEntityState(int cachedEntityState)
|
void |
setCanceled(boolean canceled)
|
void |
setCompleteScope(boolean completeScope)
|
void |
setConcurrent(boolean isConcurrent)
changes the concurrent indicator on this execution. |
void |
setDeleteReason(String deleteReason)
|
void |
setEventName(String eventName)
|
void |
setEventScope(boolean isEventScope)
|
void |
setEventSource(PvmProcessElement eventSource)
|
void |
setExecutionListenerIndex(Integer executionListenerIndex)
|
void |
setExecutions(List<ExecutionEntity> executions)
|
void |
setId(String id)
|
void |
setParent(InterpretableExecution parent)
|
void |
setParentId(String parentId)
|
void |
setProcessDefinition(ProcessDefinitionImpl processDefinition)
|
void |
setProcessDefinitionId(String processDefinitionId)
|
void |
setProcessInstance(InterpretableExecution processInstance)
|
void |
setReplacedBy(InterpretableExecution replacedBy)
|
void |
setRevision(int revision)
|
void |
setScope(boolean isScope)
Changes whether this execution is a scope or not |
void |
setSubProcessInstance(InterpretableExecution subProcessInstance)
|
void |
setSuperExecution(ExecutionEntity superExecution)
|
void |
setSuspensionState(int suspensionState)
|
void |
setTransition(TransitionImpl transition)
|
void |
setTransitionBeingTaken(TransitionImpl transitionBeingTaken)
|
void |
signal(String signalName,
Object signalData)
|
void |
start()
|
void |
start(Map<String,Object> variables)
|
void |
start(String businessKey)
|
void |
start(String businessKey,
Map<String,Object> variables)
|
void |
startWithFormProperties(Map<String,Object> properties)
|
void |
take(PvmTransition transition)
leaves the current activity by taking the given transition. |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.delegate.VariableScope |
|---|
getVariable, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal |
| Methods inherited from interface org.camunda.bpm.engine.impl.pvm.PvmExecution |
|---|
getVariable, getVariables, hasVariable, setVariable |
| Field Detail |
|---|
protected static final int EVENT_SUBSCRIPTIONS_STATE_BIT
protected static final int TASKS_STATE_BIT
protected static final int JOBS_STATE_BIT
protected static final int INCIDENT_STATE_BIT
protected ProcessDefinitionImpl processDefinition
protected ActivityImpl activity
protected TransitionImpl transition
protected TransitionImpl transitionBeingTaken
protected ExecutionEntity processInstance
protected ExecutionEntity parent
protected List<ExecutionEntity> executions
protected ExecutionEntity superExecution
protected ExecutionEntity subProcessInstance
protected String activityInstanceId
protected ProcessInstanceStartContext processInstanceStartContext
protected boolean isActive
protected boolean isScope
protected boolean isConcurrent
protected boolean isEnded
protected boolean isEventScope
protected int activityInstanceState
protected String eventName
protected PvmProcessElement eventSource
protected int executionListenerIndex
protected List<EventSubscriptionEntity> eventSubscriptions
protected List<JobEntity> jobs
protected List<TaskEntity> tasks
protected List<IncidentEntity> incidents
protected int cachedEntityState
protected boolean deleteRoot
protected String deleteReason
protected ExecutionEntity replacedBy
#takeAll(List, List)} {@link OutgoingExecution}protected AtomicOperation nextOperation
AtomicOperation,
performOperation(AtomicOperation)protected boolean isOperating
protected int revision
protected int suspensionState
protected String processDefinitionId
processDefinition,
setProcessDefinition(ProcessDefinitionImpl),
getProcessDefinition()protected String activityId
processDefinition.
activity,
#setActivity(ActivityImpl),
getActivity()protected String activityName
protected String processInstanceId
getProcessInstance()protected String businessKey
protected String parentId
getParent()protected String superExecutionId
setSuperExecution(ExecutionEntity)protected boolean forcedUpdate
protected PvmActivity nextActivity
| Constructor Detail |
|---|
public ExecutionEntity()
public ExecutionEntity(ActivityImpl activityImpl)
| Method Detail |
|---|
public ExecutionEntity createExecution()
createExecution in interface ActivityExecutionpublic PvmProcessInstance createSubProcessInstance(PvmProcessDefinition processDefinition)
ActivityExecution
createSubProcessInstance in interface ActivityExecutionprocessDefinition - The PvmProcessDefinition of the subprocess.
public PvmProcessInstance createSubProcessInstance(PvmProcessDefinition processDefinition,
String businessKey)
createSubProcessInstance in interface ActivityExecutionprocessDefinition - The PvmProcessDefinition of the subprocess.businessKey - the business key of the process instanceActivityExecution.createSubProcessInstance(PvmProcessDefinition)protected ExecutionEntity newExecution()
public void initialize()
initialize in interface InterpretableExecutionpublic void start()
start in interface PvmProcessInstancepublic void start(Map<String,Object> variables)
start in interface PvmProcessInstancepublic void start(String businessKey)
start in interface PvmProcessInstance
public void start(String businessKey,
Map<String,Object> variables)
start in interface PvmProcessInstancepublic void startWithFormProperties(Map<String,Object> properties)
public void destroy()
destroy in interface InterpretableExecutionpublic void cancelScope(String reason)
InterpretableExecution
cancelScope in interface InterpretableExecutionpublic void end(boolean completeScope)
end in interface ActivityExecutioncompleteScope - true if ending the execution contributes to completing the BPMN 2.0 scope
public void signal(String signalName,
Object signalData)
signal in interface PvmExecutionpublic void take(PvmTransition transition)
ActivityExecution
take in interface ActivityExecutionpublic void executeActivity(PvmActivity activity)
ActivityExecutionActivityBehavior associated with the given activity.
executeActivity in interface ActivityExecutionpublic List<ActivityExecution> findInactiveConcurrentExecutions(PvmActivity activity)
ActivityExecution
findInactiveConcurrentExecutions in interface ActivityExecutionprotected List<ExecutionEntity> getAllChildExecutions()
public void takeAll(List<PvmTransition> transitions,
List<ActivityExecution> recyclableExecutions)
ActivityExecution
takeAll in interface ActivityExecutionprotected boolean hasConcurrentSiblings(ExecutionEntity concurrentRoot)
protected boolean allExecutionsInSameActivity(List<ExecutionEntity> executions)
public void performOperation(AtomicOperation executionOperation)
performOperation in interface InterpretableExecutionpublic void performOperationSync(AtomicOperation executionOperation)
performOperationSync in interface InterpretableExecutionprotected void ensureNotSuspended()
protected boolean requiresUnsuspendedExecution(AtomicOperation executionOperation)
protected void scheduleAtomicOperationAsync(AtomicOperation executionOperation)
public boolean isActive(String activityId)
public void inactivate()
ActivityExecution
inactivate in interface ActivityExecutionpublic List<ExecutionEntity> getExecutions()
getExecutions in interface ActivityExecutionprotected void ensureExecutionsInitialized()
public void setExecutions(List<ExecutionEntity> executions)
public ExecutionEntity findExecution(String activityId)
findExecution in interface PvmProcessInstancepublic List<String> findActiveActivityIds()
findActiveActivityIds in interface PvmProcessInstanceprotected void collectActiveActivityIds(List<String> activeActivityIds)
public String getBusinessKey()
DelegateExecution
getBusinessKey in interface DelegateExecutiongetBusinessKey in interface ProcessInstancepublic void setBusinessKey(String businessKey)
public String getProcessBusinessKey()
DelegateExecution
getProcessBusinessKey in interface DelegateExecutionpublic ProcessDefinitionImpl getProcessDefinition()
getProcessDefinition in interface InterpretableExecutionpublic void setProcessDefinitionId(String processDefinitionId)
public String getProcessDefinitionId()
DelegateExecution
getProcessDefinitionId in interface DelegateExecutiongetProcessDefinitionId in interface ProcessInstanceprotected void ensureProcessDefinitionInitialized()
public void setProcessDefinition(ProcessDefinitionImpl processDefinition)
setProcessDefinition in interface InterpretableExecutionpublic ExecutionEntity getProcessInstance()
protected void ensureProcessInstanceInitialized()
public void setProcessInstance(InterpretableExecution processInstance)
setProcessInstance in interface InterpretableExecutionpublic boolean isProcessInstance()
ActivityExecution
isProcessInstance in interface ActivityExecutionpublic ActivityImpl getActivity()
getActivity in interface ActivityExecutiongetActivity in interface PvmExecutionprotected void ensureActivityInitialized()
public void setActivity(PvmActivity activity)
setActivity in interface InterpretableExecutionpublic void enterActivityInstance()
ActivityExecution
enterActivityInstance in interface ActivityExecutionpublic void leaveActivityInstance()
ActivityExecution
leaveActivityInstance in interface ActivityExecutionpublic String getParentActivityInstanceId()
ActivityExecution
getParentActivityInstanceId in interface DelegateExecutiongetParentActivityInstanceId in interface ActivityExecutionprotected String generateActivityInstanceId(String activityId)
public void forceUpdateActivityInstance()
public void setActivityInstanceId(String activityInstanceId)
setActivityInstanceId in interface ActivityExecutionpublic String getActivityInstanceId()
ActivityExecution
getActivityInstanceId in interface DelegateExecutiongetActivityInstanceId in interface ActivityExecutionpublic ExecutionEntity getParent()
getParent in interface ActivityExecutiongetParent in interface InterpretableExecutionprotected void ensureParentInitialized()
public void setParent(InterpretableExecution parent)
setParent in interface InterpretableExecutionpublic String getSuperExecutionId()
public ExecutionEntity getSuperExecution()
getSuperExecution in interface InterpretableExecutionpublic void setSuperExecution(ExecutionEntity superExecution)
protected void ensureSuperExecutionInitialized()
public ExecutionEntity getSubProcessInstance()
getSubProcessInstance in interface InterpretableExecutionpublic void setSubProcessInstance(InterpretableExecution subProcessInstance)
setSubProcessInstance in interface InterpretableExecutionprotected void ensureSubProcessInstanceInitialized()
protected ScopeImpl getScopeActivity()
public boolean isScope()
ActivityExecution
isScope in interface ActivityExecutionpublic void setScope(boolean isScope)
ActivityExecution
setScope in interface ActivityExecutionpublic void remove()
remove in interface InterpretableExecutionpublic void interruptScope(String reason)
ActivityExecution
interruptScope in interface ActivityExecutionpublic void removeEventSubscriptions()
public ExecutionEntity getReplacedBy()
getReplacedBy in interface InterpretableExecutionpublic void setReplacedBy(InterpretableExecution replacedBy)
setReplacedBy in interface InterpretableExecutionpublic void replace(InterpretableExecution execution)
replace in interface InterpretableExecutionprotected void initializeVariableInstanceBackPointer(VariableInstanceEntity variableInstance)
initializeVariableInstanceBackPointer in class VariableScopeImplprotected List<VariableInstanceEntity> loadVariableInstances()
loadVariableInstances in class VariableScopeImplprotected VariableScopeImpl getParentVariableScope()
getParentVariableScope in class VariableScopeImplprotected ExecutionEntity getSourceActivityExecution()
getSourceActivityExecution in class VariableScopeImplprotected boolean isAutoFireHistoryEvents()
isAutoFireHistoryEvents in class VariableScopeImplpublic void fireHistoricVariableInstanceCreateEvents()
public Object getPersistentState()
PersistentObject
getPersistentState in interface PersistentObjectpublic void insert()
public void deleteCascade(String deleteReason)
deleteCascade in interface PvmProcessInstancepublic void deleteCascade2(String deleteReason)
deleteCascade2 in interface InterpretableExecutionpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic void forceUpdate()
public String toString()
toString in class Objectprotected String getToStringIdentity()
public List<EventSubscriptionEntity> getEventSubscriptionsInternal()
public List<EventSubscriptionEntity> getEventSubscriptions()
public List<CompensateEventSubscriptionEntity> getCompensateEventSubscriptions()
public List<CompensateEventSubscriptionEntity> getCompensateEventSubscriptions(String activityId)
protected void ensureEventSubscriptionsInitialized()
public void addEventSubscription(EventSubscriptionEntity eventSubscriptionEntity)
public void removeEventSubscription(EventSubscriptionEntity eventSubscriptionEntity)
protected void ensureJobsInitialized()
protected List<JobEntity> getJobsInternal()
public List<JobEntity> getJobs()
public void addJob(JobEntity jobEntity)
public void removeJob(JobEntity job)
protected void ensureIncidentsInitialized()
protected List<IncidentEntity> getIncidentsInternal()
public List<IncidentEntity> getIncidents()
public void addIncident(IncidentEntity incident)
public void removeIncident(IncidentEntity incident)
public IncidentEntity getIncidentByCauseIncidentId(String causeIncidentId)
protected void ensureTasksInitialized()
protected List<TaskEntity> getTasksInternal()
public List<TaskEntity> getTasks()
public void addTask(TaskEntity taskEntity)
public void removeTask(TaskEntity task)
public void setCachedEntityState(int cachedEntityState)
public int getCachedEntityState()
public String getProcessInstanceId()
DelegateExecution
getProcessInstanceId in interface DelegateExecutiongetProcessInstanceId in interface Executionpublic String getParentId()
DelegateExecution
getParentId in interface DelegateExecutionpublic void setParentId(String parentId)
public String getId()
DelegateExecution
getId in interface DelegateExecutiongetId in interface PersistentObjectgetId in interface ExecutiongetId in class VariableScopeImplpublic void setId(String id)
setId in interface PersistentObjectsetId in class VariableScopeImplpublic int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic String getActivityId()
public TransitionImpl getTransition()
getTransition in interface InterpretableExecutionpublic void setTransition(TransitionImpl transition)
setTransition in interface InterpretableExecutionpublic TransitionImpl getTransitionBeingTaken()
public void setTransitionBeingTaken(TransitionImpl transitionBeingTaken)
public Integer getExecutionListenerIndex()
getExecutionListenerIndex in interface InterpretableExecutionpublic void setExecutionListenerIndex(Integer executionListenerIndex)
setExecutionListenerIndex in interface InterpretableExecutionpublic boolean isConcurrent()
ActivityExecution
isConcurrent in interface ActivityExecutionpublic void setConcurrent(boolean isConcurrent)
ActivityExecution
setConcurrent in interface ActivityExecutionpublic boolean isActive()
ActivityExecution
isActive in interface ActivityExecutionpublic void setActive(boolean isActive)
ActivityExecution
setActive in interface ActivityExecutionpublic boolean isEnded()
ActivityExecution
isEnded in interface ActivityExecutionisEnded in interface PvmProcessInstanceisEnded in interface Executionpublic boolean isCanceled()
ActivityExecution
isCanceled in interface ActivityExecutionpublic void setCanceled(boolean canceled)
setCanceled in interface InterpretableExecutionpublic boolean isCompleteScope()
ActivityExecution
isCompleteScope in interface ActivityExecutionpublic void setCompleteScope(boolean completeScope)
setCompleteScope in interface InterpretableExecutionpublic int getActivityInstanceState()
public String getEventName()
DelegateExecutionevent name in case this execution is passed in for an ExecutionListener
getEventName in interface DelegateExecutiongetEventName in interface ExecutionListenerExecutionpublic void setEventName(String eventName)
setEventName in interface InterpretableExecutionpublic 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 boolean isDeleteRoot()
isDeleteRoot in interface InterpretableExecutionpublic int getSuspensionState()
public void setSuspensionState(int suspensionState)
public boolean isSuspended()
Execution
isSuspended in interface ExecutionisSuspended in interface ProcessInstancepublic boolean isEventScope()
isEventScope in interface InterpretableExecutionpublic void setEventScope(boolean isEventScope)
setEventScope in interface InterpretableExecutionpublic ProcessInstanceStartContext getProcessInstanceStartContext()
getProcessInstanceStartContext in interface InterpretableExecutionpublic void disposeProcessInstanceStartContext()
disposeProcessInstanceStartContext in interface InterpretableExecutionpublic String getCurrentActivityId()
DelegateExecution
getCurrentActivityId in interface DelegateExecutionpublic String getCurrentActivityName()
DelegateExecution
getCurrentActivityName in interface DelegateExecutionpublic String getCurrentTransitionId()
DelegateExecution
getCurrentTransitionId in interface DelegateExecutionpublic PvmActivity getNextActivity()
ActivityExecution
getNextActivity in interface ActivityExecution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||