org.camunda.bpm.engine.impl.pvm.runtime
Interface InterpretableExecution

All Superinterfaces:
ActivityExecution, BpmnModelExecutionContext, DelegateExecution, ExecutionListenerExecution, ProcessEngineServicesAware, PvmExecution, PvmProcessInstance, VariableScope
All Known Implementing Classes:
ExecutionEntity, ExecutionImpl

public interface InterpretableExecution
extends ActivityExecution, ExecutionListenerExecution, PvmProcessInstance

Interpretable view of an execution. This view allows manipulation of the execution tree.

Author:
Tom Baeyens, Daniel Meyer, Roman Smirnov

Method Summary
 void cancelScope(String reason)
          Called when a scope is cancelled.
 void deleteCascade2(String deleteReason)
           
 void destroy()
           
 void disposeExecutionStartContext()
           
 void disposeProcessInstanceStartContext()
           
 Integer getExecutionListenerIndex()
           
 ExecutionStartContext getExecutionStartContext()
           
 InterpretableExecution getParent()
          returns the parent of this execution, or null if there no parent.
 ProcessDefinitionImpl getProcessDefinition()
           
 ProcessInstanceStartContext getProcessInstanceStartContext()
           
 InterpretableExecution getReplacedBy()
           
 InterpretableExecution getSubProcessInstance()
           
 InterpretableExecution getSuperExecution()
           
 TransitionImpl getTransition()
           
 void initialize()
           
 boolean isDeleteRoot()
           
 boolean isEventScope()
           
 void performOperation(AtomicOperation etomicOperation)
           
 void performOperationSync(AtomicOperation executionOperation)
           
 void remove()
           
 void replace(InterpretableExecution execution)
           
 void setActivity(PvmActivity activity)
           
 void setCanceled(boolean canceled)
           
 void setCompleteScope(boolean completeScope)
           
 void setEventName(String eventName)
           
 void setEventScope(boolean isEventScope)
           
 void setEventSource(PvmProcessElement element)
           
 void setExecutionListenerIndex(Integer executionListenerIndex)
           
 void setParent(InterpretableExecution parent)
           
 void setProcessDefinition(ProcessDefinitionImpl processDefinitionImpl)
           
 void setProcessInstance(InterpretableExecution processInstance)
           
 void setReplacedBy(InterpretableExecution replacedBy)
           
 void setSubProcessInstance(InterpretableExecution subProcessInstance)
           
 void setTransition(TransitionImpl object)
           
 
Methods inherited from interface org.camunda.bpm.engine.impl.pvm.delegate.ActivityExecution
createExecution, createExecution, createSubProcessInstance, createSubProcessInstance, end, enterActivityInstance, executeActivity, findInactiveConcurrentExecutions, getActivity, getActivityInstanceId, getExecutions, getNextActivity, getParentActivityInstanceId, inactivate, interruptScope, isActive, isCanceled, isCompleteScope, isConcurrent, isEnded, isProcessInstance, isScope, leaveActivityInstance, setActive, setActivityInstanceId, setConcurrent, setScope, take, takeAll
 
Methods inherited from interface org.camunda.bpm.engine.impl.pvm.delegate.ExecutionListenerExecution
getDeleteReason, getEventName, getEventSource
 
Methods inherited from interface org.camunda.bpm.engine.delegate.DelegateExecution
getBusinessKey, getCurrentActivityId, getCurrentActivityName, getCurrentTransitionId, getId, getParentId, getProcessBusinessKey, getProcessDefinitionId, getProcessInstanceId
 
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.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.PvmProcessInstance
deleteCascade, findActiveActivityIds, findExecution, isEnded, start, start, start, start
 
Methods inherited from interface org.camunda.bpm.engine.impl.pvm.PvmExecution
getActivity, getVariable, getVariables, hasVariable, setVariable, signal
 

Method Detail

setEventName

void setEventName(String eventName)

setEventSource

void setEventSource(PvmProcessElement element)

getExecutionListenerIndex

Integer getExecutionListenerIndex()

setExecutionListenerIndex

void setExecutionListenerIndex(Integer executionListenerIndex)

getProcessDefinition

ProcessDefinitionImpl getProcessDefinition()

setActivity

void setActivity(PvmActivity activity)

performOperation

void performOperation(AtomicOperation etomicOperation)

performOperationSync

void performOperationSync(AtomicOperation executionOperation)

destroy

void destroy()

cancelScope

void cancelScope(String reason)
Called when a scope is cancelled. (see AtomicOperationCancelScope ) Performs interrupting scope behavior: all child executions and sub-process instances are removed. The execution itself can continue execution.


getParent

InterpretableExecution getParent()
returns the parent of this execution, or null if there no parent.

Specified by:
getParent in interface ActivityExecution

remove

void remove()

getReplacedBy

InterpretableExecution getReplacedBy()

setReplacedBy

void setReplacedBy(InterpretableExecution replacedBy)

replace

void replace(InterpretableExecution execution)

getSubProcessInstance

InterpretableExecution getSubProcessInstance()

setSubProcessInstance

void setSubProcessInstance(InterpretableExecution subProcessInstance)

getSuperExecution

InterpretableExecution getSuperExecution()

deleteCascade2

void deleteCascade2(String deleteReason)

isDeleteRoot

boolean isDeleteRoot()

getTransition

TransitionImpl getTransition()

setTransition

void setTransition(TransitionImpl object)

initialize

void initialize()

setParent

void setParent(InterpretableExecution parent)

setProcessDefinition

void setProcessDefinition(ProcessDefinitionImpl processDefinitionImpl)

setProcessInstance

void setProcessInstance(InterpretableExecution processInstance)

isEventScope

boolean isEventScope()

setEventScope

void setEventScope(boolean isEventScope)

getProcessInstanceStartContext

ProcessInstanceStartContext getProcessInstanceStartContext()

getExecutionStartContext

ExecutionStartContext getExecutionStartContext()

disposeProcessInstanceStartContext

void disposeProcessInstanceStartContext()

disposeExecutionStartContext

void disposeExecutionStartContext()

setCanceled

void setCanceled(boolean canceled)

setCompleteScope

void setCompleteScope(boolean completeScope)


Copyright © 2014 camunda services GmbH. All Rights Reserved.