org.camunda.bpm.engine.impl.pvm.runtime
Class PvmExecutionImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
      extended by org.camunda.bpm.engine.impl.core.instance.CoreExecution
          extended by org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl
All Implemented Interfaces:
Serializable, BaseDelegateExecution, BpmnModelExecutionContext, DelegateExecution, ProcessEngineServicesAware, VariableScope, VariableEventDispatcher, ActivityExecution, PvmExecution, PvmProcessInstance
Direct Known Subclasses:
ExecutionEntity, ExecutionImpl

public abstract class PvmExecutionImpl
extends CoreExecution
implements ActivityExecution, PvmProcessInstance

Author:
Daniel Meyer, Roman Smirnov, Sebastian Menski
See Also:
Serialized Form

Field Summary
protected  ActivityImpl activity
          current activity
protected  String activityInstanceId
          the unique id of the current activity instance
protected  int activityInstanceState
          marks the current activity instance
protected  String caseInstanceId
          the id of a case associated with this execution
protected  String deleteReason
           
protected  boolean deleteRoot
           
protected  boolean isActive
          indicates if this execution represents an active path of execution.
protected  boolean isConcurrent
           
protected  boolean isEnded
           
protected  boolean isEventScope
           
protected  boolean isScope
           
protected  ActivityImpl nextActivity
          the activity which is to be started next
protected  ProcessDefinitionImpl processDefinition
           
protected  ProcessInstanceStartContext processInstanceStartContext
           
protected  ExecutionStartContext startContext
           
protected  TransitionImpl transition
          current sequence flow.
protected  TransitionImpl transitionBeingTaken
          transition that will be taken.
 
Fields inherited from class org.camunda.bpm.engine.impl.core.instance.CoreExecution
businessKey, eventName, eventSource, id, listenerIndex, skipCustomListeners
 
Fields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
cachedElContext
 
Constructor Summary
PvmExecutionImpl()
           
PvmExecutionImpl(ActivityImpl initialActivity)
           
 
Method Summary
protected  boolean allExecutionsInSameActivity(List<PvmExecutionImpl> executions)
           
 void cancelScope(String reason)
           
protected  void collectActiveActivityIds(List<String> activeActivityIds)
           
 PvmExecutionImpl createExecution()
          creates a new execution.
abstract  PvmExecutionImpl createExecution(boolean initStartContext)
          creates a new execution.
 PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition)
          creates a new sub process instance.
abstract  PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition, String businessKey)
           
abstract  PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition, String businessKey, String caseInstanceId)
           
 void deleteCascade(String deleteReason)
           
 void deleteCascade(String deleteReason, boolean skipCustomListeners)
           
 void deleteCascade2(String deleteReason)
           
 void destroy()
           
 void disposeExecutionStartContext()
           
 void disposeProcessInstanceStartContext()
           
 void end(boolean completeScope)
          removes an execution.
 void endCompensation()
          Execution finished compensation.
 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()
           
 PvmExecutionImpl findExecution(String activityId)
           
 List<ActivityExecution> findInactiveConcurrentExecutions(PvmActivity activity)
          Retrieves all executions which are concurrent and inactive at the given activity.
 void forceUpdateActivityInstance()
           
protected abstract  String generateActivityInstanceId(String activityId)
           
 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<PvmExecutionImpl> getAllChildExecutions()
           
 String getCaseInstanceId()
           
 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()
           
abstract  List<? extends PvmExecutionImpl> getExecutions()
          returns the list of execution of which this execution the parent of.
 ExecutionStartContext getExecutionStartContext()
           
 ActivityImpl getNextActivity()
          An activity which is to be started next.
abstract  PvmExecutionImpl 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.
 AbstractVariableScope getParentVariableScope()
           
 String getProcessBusinessKey()
          The business key for the process instance this execution is associated with.
 ProcessDefinitionImpl getProcessDefinition()
           
abstract  PvmExecutionImpl getProcessInstance()
          ensures initialization and returns the process instance.
 ProcessInstanceStartContext getProcessInstanceStartContext()
           
abstract  PvmExecutionImpl getReplacedBy()
           
protected  ScopeImpl getScopeActivity()
           
abstract  PvmExecutionImpl getSubProcessInstance()
           
abstract  CmmnExecution getSuperCaseExecution()
           
abstract  PvmExecutionImpl getSuperExecution()
           
protected  String getToStringIdentity()
           
 TransitionImpl getTransition()
           
 TransitionImpl getTransitionBeingTaken()
           
 String getVariableScopeKey()
           
protected  boolean hasConcurrentSiblings(PvmExecutionImpl concurrentRoot)
           
 void inactivate()
          Inactivates this execution.
abstract  void initialize()
           
 boolean isActive()
          returns whether this execution is currently active.
 boolean isActive(String activityId)
           
 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 isProcessInstanceExecution()
          returns whether this execution is a process instance or not.
 boolean isScope()
          Returns whether this execution is a scope.
 void leaveActivityInstance()
          invoked to notify the execution that an activity instance is ended.
 void remove()
           
protected  void removeEventScopes()
           
 void replace(PvmExecutionImpl execution)
           
 void setActive(boolean isActive)
          makes this execution active or inactive.
 void setActivity(PvmActivity activity)
           
 void setActivityInstanceId(String activityInstanceId)
           
 void setCanceled(boolean canceled)
           
 void setCaseInstanceId(String caseInstanceId)
           
 void setCompleteScope(boolean completeScope)
           
 void setConcurrent(boolean isConcurrent)
          changes the concurrent indicator on this execution.
 void setDeleteReason(String deleteReason)
           
 void setEventScope(boolean isEventScope)
           
abstract  void setParent(PvmExecutionImpl parent)
           
 void setProcessDefinition(ProcessDefinitionImpl processDefinition)
           
abstract  void setProcessInstance(PvmExecutionImpl pvmExecutionImpl)
           
 void setReplacedBy(PvmExecutionImpl replacedBy)
           
 void setScope(boolean isScope)
          Changes whether this execution is a scope or not
 void setStartContext(ExecutionStartContext startContext)
           
abstract  void setSubProcessInstance(PvmExecutionImpl subProcessInstance)
           
abstract  void setSuperCaseExecution(CmmnExecution superCaseExecution)
           
abstract  void setSuperExecution(PvmExecutionImpl superExecution)
           
 void setTransition(TransitionImpl transition)
           
 void setTransitionBeingTaken(TransitionImpl transitionBeingTaken)
           
 void signal(String signalName, Object signalData)
           
 void start()
           
 void start(Map<String,Object> variables)
           
 void take(PvmTransition transition)
          leaves the current activity by taking the given transition.
 void takeAll(List<PvmTransition> _transitions, List<? extends 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 org.camunda.bpm.engine.impl.core.instance.CoreExecution
getBusinessKey, getEventName, getEventSource, getId, getListenerIndex, invokeListener, isSkipCustomListeners, performOperation, performOperationSync, setBusinessKey, setEventName, setEventSource, setId, setListenerIndex, setSkipCustomListeners
 
Methods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
collectVariableNames, collectVariables, dispatchEvent, getCachedElContext, getSourceActivityVariableScope, getValueFromVariableInstance, getVariable, getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariableStore, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal
 
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.impl.pvm.delegate.ActivityExecution
interruptScope
 
Methods inherited from interface org.camunda.bpm.engine.delegate.DelegateExecution
getProcessDefinitionId, getProcessInstanceId
 
Methods inherited from interface org.camunda.bpm.engine.delegate.BaseDelegateExecution
getBusinessKey, getEventName, getId
 
Methods inherited from interface org.camunda.bpm.engine.delegate.VariableScope
getVariable, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal
 
Methods inherited from interface org.camunda.bpm.engine.delegate.BpmnModelExecutionContext
getBpmnModelElementInstance, getBpmnModelInstance
 
Methods inherited from interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAware
getProcessEngineServices
 
Methods inherited from interface org.camunda.bpm.engine.impl.pvm.PvmExecution
getVariable, getVariables, hasVariable, setVariable
 

Field Detail

processDefinition

protected transient ProcessDefinitionImpl processDefinition

startContext

protected transient ExecutionStartContext startContext

processInstanceStartContext

protected transient ProcessInstanceStartContext processInstanceStartContext

activity

protected transient ActivityImpl activity
current activity


nextActivity

protected transient ActivityImpl nextActivity
the activity which is to be started next


transition

protected transient TransitionImpl transition
current sequence flow. is null when there is no transition being taken.


transitionBeingTaken

protected transient TransitionImpl transitionBeingTaken
transition that will be taken. is null when there is no transition being taken.


activityInstanceId

protected String activityInstanceId
the unique id of the current activity instance


caseInstanceId

protected String caseInstanceId
the id of a case associated with this execution


deleteRoot

protected boolean deleteRoot

deleteReason

protected String deleteReason

isActive

protected boolean isActive
indicates if this execution represents an active path of execution. Executions are made inactive in the following situations:


isScope

protected boolean isScope

isConcurrent

protected boolean isConcurrent

isEnded

protected boolean isEnded

isEventScope

protected boolean isEventScope

activityInstanceState

protected int activityInstanceState
marks the current activity instance

Constructor Detail

PvmExecutionImpl

public PvmExecutionImpl()

PvmExecutionImpl

public PvmExecutionImpl(ActivityImpl initialActivity)
Method Detail

createExecution

public PvmExecutionImpl createExecution()
creates a new execution. properties processDefinition, processInstance and activity will be initialized.

Specified by:
createExecution in interface ActivityExecution

createExecution

public abstract PvmExecutionImpl createExecution(boolean initStartContext)
Description copied from interface: ActivityExecution
creates a new execution. This execution will be the parent of the newly created execution. properties processDefinition, processInstance and activity will be initialized.

Specified by:
createExecution in interface ActivityExecution

createSubProcessInstance

public PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition)
Description copied from interface: ActivityExecution
creates a new sub process instance. The current execution will be the super execution of the created execution.

Specified by:
createSubProcessInstance in interface ActivityExecution
Parameters:
processDefinition - The PvmProcessDefinition of the subprocess.

createSubProcessInstance

public abstract PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition,
                                                          String businessKey)
Specified by:
createSubProcessInstance in interface ActivityExecution
Parameters:
processDefinition - The PvmProcessDefinition of the subprocess.
businessKey - the business key of the process instance
See Also:
ActivityExecution.createSubProcessInstance(PvmProcessDefinition)

createSubProcessInstance

public abstract PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition,
                                                          String businessKey,
                                                          String caseInstanceId)
Specified by:
createSubProcessInstance in interface ActivityExecution
Parameters:
processDefinition - The PvmProcessDefinition of the subprocess.
businessKey - the business key of the process instance
caseInstanceId - the case instance id of the process instance
See Also:
ActivityExecution.createSubProcessInstance(PvmProcessDefinition)

initialize

public abstract void initialize()

start

public void start()
Specified by:
start in interface PvmProcessInstance

start

public void start(Map<String,Object> variables)
Specified by:
start in interface PvmProcessInstance

destroy

public void destroy()

removeEventScopes

protected void removeEventScopes()

cancelScope

public void cancelScope(String reason)
Specified by:
cancelScope in interface ActivityExecution

end

public void end(boolean completeScope)
removes an execution. if there are nested executions, those will be ended recursively. if there is a parent, this method removes the bidirectional relation between parent and this execution.

Specified by:
end in interface ActivityExecution
Parameters:
completeScope - true if ending the execution contributes to completing the BPMN 2.0 scope

endCompensation

public void endCompensation()
Description copied from interface: ActivityExecution
Execution finished compensation. Removes this execution and notifies listeners.

Specified by:
endCompensation in interface ActivityExecution

remove

public void remove()
Specified by:
remove in interface ActivityExecution

deleteCascade

public void deleteCascade(String deleteReason)
Specified by:
deleteCascade in interface PvmProcessInstance

deleteCascade

public void deleteCascade(String deleteReason,
                          boolean skipCustomListeners)

deleteCascade2

public void deleteCascade2(String deleteReason)

getReplacedBy

public abstract PvmExecutionImpl getReplacedBy()

setReplacedBy

public void setReplacedBy(PvmExecutionImpl replacedBy)

replace

public void replace(PvmExecutionImpl execution)

signal

public void signal(String signalName,
                   Object signalData)
Specified by:
signal in interface ActivityExecution
Specified by:
signal in interface PvmExecution

take

public void take(PvmTransition transition)
Description copied from interface: ActivityExecution
leaves the current activity by taking the given transition.

Specified by:
take in interface ActivityExecution

executeActivity

public void executeActivity(PvmActivity activity)
Description copied from interface: ActivityExecution
Executes the ActivityBehavior associated with the given activity.

Specified by:
executeActivity in interface ActivityExecution

findInactiveConcurrentExecutions

public List<ActivityExecution> findInactiveConcurrentExecutions(PvmActivity activity)
Description copied from interface: ActivityExecution
Retrieves all executions which are concurrent and inactive at the given activity.

Specified by:
findInactiveConcurrentExecutions in interface ActivityExecution

getAllChildExecutions

protected List<PvmExecutionImpl> getAllChildExecutions()

takeAll

public void takeAll(List<PvmTransition> _transitions,
                    List<? extends ActivityExecution> _recyclableExecutions)
Description copied from interface: ActivityExecution
Takes the given outgoing transitions, and potentially reusing the given list of executions that were previously joined.

Specified by:
takeAll in interface ActivityExecution

hasConcurrentSiblings

protected boolean hasConcurrentSiblings(PvmExecutionImpl concurrentRoot)

allExecutionsInSameActivity

protected boolean allExecutionsInSameActivity(List<PvmExecutionImpl> executions)

isActive

public boolean isActive(String activityId)

inactivate

public void inactivate()
Description copied from interface: ActivityExecution
Inactivates this execution. This is useful for example in a join: the execution still exists, but it is not longer active.

Specified by:
inactivate in interface ActivityExecution

getExecutions

public abstract List<? extends PvmExecutionImpl> getExecutions()
Description copied from interface: ActivityExecution
returns the list of execution of which this execution the parent of.

Specified by:
getExecutions in interface ActivityExecution

findExecution

public PvmExecutionImpl findExecution(String activityId)
Specified by:
findExecution in interface PvmProcessInstance

findActiveActivityIds

public List<String> findActiveActivityIds()
Specified by:
findActiveActivityIds in interface PvmProcessInstance

collectActiveActivityIds

protected void collectActiveActivityIds(List<String> activeActivityIds)

getProcessBusinessKey

public String getProcessBusinessKey()
Description copied from interface: DelegateExecution
The business key for the process instance this execution is associated with.

Specified by:
getProcessBusinessKey in interface DelegateExecution

setProcessDefinition

public void setProcessDefinition(ProcessDefinitionImpl processDefinition)

getProcessDefinition

public ProcessDefinitionImpl getProcessDefinition()

getProcessInstance

public abstract PvmExecutionImpl getProcessInstance()
ensures initialization and returns the process instance.


setProcessInstance

public abstract void setProcessInstance(PvmExecutionImpl pvmExecutionImpl)

getCaseInstanceId

public String getCaseInstanceId()

setCaseInstanceId

public void setCaseInstanceId(String caseInstanceId)

getActivity

public ActivityImpl getActivity()
ensures initialization and returns the activity

Specified by:
getActivity in interface ActivityExecution
Specified by:
getActivity in interface PvmExecution

getActivityId

public String getActivityId()

getCurrentActivityName

public String getCurrentActivityName()
Description copied from interface: DelegateExecution
Gets the name of the current activity.

Specified by:
getCurrentActivityName in interface DelegateExecution

getCurrentActivityId

public String getCurrentActivityId()
Description copied from interface: DelegateExecution
Gets the id of the current activity.

Specified by:
getCurrentActivityId in interface DelegateExecution

setActivity

public void setActivity(PvmActivity activity)
Specified by:
setActivity in interface ActivityExecution

enterActivityInstance

public void enterActivityInstance()
Description copied from interface: ActivityExecution
invoked to notify the execution that a new activity instance is started

Specified by:
enterActivityInstance in interface ActivityExecution

generateActivityInstanceId

protected abstract String generateActivityInstanceId(String activityId)

leaveActivityInstance

public void leaveActivityInstance()
Description copied from interface: ActivityExecution
invoked to notify the execution that an activity instance is ended.

Specified by:
leaveActivityInstance in interface ActivityExecution

getParentActivityInstanceId

public String getParentActivityInstanceId()
Description copied from interface: ActivityExecution
return the Id of the parent activity instance currently executed by this execution

Specified by:
getParentActivityInstanceId in interface DelegateExecution
Specified by:
getParentActivityInstanceId in interface ActivityExecution

forceUpdateActivityInstance

public void forceUpdateActivityInstance()

setActivityInstanceId

public void setActivityInstanceId(String activityInstanceId)
Specified by:
setActivityInstanceId in interface ActivityExecution

getActivityInstanceId

public String getActivityInstanceId()
Description copied from interface: ActivityExecution
return the Id of the activity instance currently executed by this execution

Specified by:
getActivityInstanceId in interface DelegateExecution
Specified by:
getActivityInstanceId in interface ActivityExecution

getParent

public abstract PvmExecutionImpl getParent()
ensures initialization and returns the parent

Specified by:
getParent in interface ActivityExecution

getParentId

public String getParentId()
Description copied from interface: DelegateExecution
Gets the id of the parent of this execution. If null, the execution represents a process-instance.

Specified by:
getParentId in interface DelegateExecution

setParent

public abstract void setParent(PvmExecutionImpl parent)

getSuperExecution

public abstract PvmExecutionImpl getSuperExecution()

setSuperExecution

public abstract void setSuperExecution(PvmExecutionImpl superExecution)

getSubProcessInstance

public abstract PvmExecutionImpl getSubProcessInstance()

setSubProcessInstance

public abstract void setSubProcessInstance(PvmExecutionImpl subProcessInstance)

getSuperCaseExecution

public abstract CmmnExecution getSuperCaseExecution()

setSuperCaseExecution

public abstract void setSuperCaseExecution(CmmnExecution superCaseExecution)

getScopeActivity

protected ScopeImpl getScopeActivity()

isScope

public boolean isScope()
Description copied from interface: ActivityExecution
Returns whether this execution is a scope.

Specified by:
isScope in interface ActivityExecution

setScope

public void setScope(boolean isScope)
Description copied from interface: ActivityExecution
Changes whether this execution is a scope or not

Specified by:
setScope in interface ActivityExecution

toString

public String toString()
Overrides:
toString in class Object

getToStringIdentity

protected String getToStringIdentity()

getVariableScopeKey

public String getVariableScopeKey()
Specified by:
getVariableScopeKey in interface VariableScope
Overrides:
getVariableScopeKey in class AbstractVariableScope

getParentVariableScope

public AbstractVariableScope getParentVariableScope()
Specified by:
getParentVariableScope in class AbstractVariableScope

getDeleteReason

public String getDeleteReason()

setDeleteReason

public void setDeleteReason(String deleteReason)

isDeleteRoot

public boolean isDeleteRoot()

getTransition

public TransitionImpl getTransition()

getCurrentTransitionId

public String getCurrentTransitionId()
Description copied from interface: DelegateExecution
return the Id of the current transition

Specified by:
getCurrentTransitionId in interface DelegateExecution

getTransitionBeingTaken

public TransitionImpl getTransitionBeingTaken()

setTransition

public void setTransition(TransitionImpl transition)

setTransitionBeingTaken

public void setTransitionBeingTaken(TransitionImpl transitionBeingTaken)

isConcurrent

public boolean isConcurrent()
Description copied from interface: ActivityExecution
returns whether this execution is concurrent or not.

Specified by:
isConcurrent in interface ActivityExecution

setConcurrent

public void setConcurrent(boolean isConcurrent)
Description copied from interface: ActivityExecution
changes the concurrent indicator on this execution.

Specified by:
setConcurrent in interface ActivityExecution

isActive

public boolean isActive()
Description copied from interface: ActivityExecution
returns whether this execution is currently active.

Specified by:
isActive in interface ActivityExecution

setActive

public void setActive(boolean isActive)
Description copied from interface: ActivityExecution
makes this execution active or inactive.

Specified by:
setActive in interface ActivityExecution

isEnded

public boolean isEnded()
Description copied from interface: ActivityExecution
returns whether this execution has ended or not.

Specified by:
isEnded in interface ActivityExecution
Specified by:
isEnded in interface PvmProcessInstance

isCanceled

public boolean isCanceled()
Description copied from interface: ActivityExecution
Returns whether this execution has been canceled.

Specified by:
isCanceled in interface ActivityExecution

setCanceled

public void setCanceled(boolean canceled)

isCompleteScope

public boolean isCompleteScope()
Description copied from interface: ActivityExecution
Returns whether this execution completed the parent scope.

Specified by:
isCompleteScope in interface ActivityExecution

setCompleteScope

public void setCompleteScope(boolean completeScope)

getActivityInstanceState

public int getActivityInstanceState()

isEventScope

public boolean isEventScope()

setEventScope

public void setEventScope(boolean isEventScope)

getExecutionStartContext

public ExecutionStartContext getExecutionStartContext()

disposeProcessInstanceStartContext

public void disposeProcessInstanceStartContext()

disposeExecutionStartContext

public void disposeExecutionStartContext()

getNextActivity

public ActivityImpl getNextActivity()
Description copied from interface: ActivityExecution
An activity which is to be started next.

Specified by:
getNextActivity in interface ActivityExecution

isProcessInstanceExecution

public boolean isProcessInstanceExecution()
Description copied from interface: ActivityExecution
returns whether this execution is a process instance or not.

Specified by:
isProcessInstanceExecution in interface ActivityExecution

getProcessInstanceStartContext

public ProcessInstanceStartContext getProcessInstanceStartContext()

setStartContext

public void setStartContext(ExecutionStartContext startContext)


Copyright © 2014 camunda services GmbH. All rights reserved.