Class CoreExecution
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
org.camunda.bpm.engine.impl.core.instance.CoreExecution
- All Implemented Interfaces:
Serializable,BaseDelegateExecution,VariableScope,VariableEventDispatcher
- Direct Known Subclasses:
CmmnExecution,PvmExecutionImpl
Defines the base API for the execution of an activity.
- Author:
- Daniel Meyer, Roman Smirnov, Sebastian Menski
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringthe business key for this executionprotected Stringprotected Stringprotected CoreModelElementprotected Stringprotected intprotected booleanprotected booleanprotected booleanprotected StringFields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
cachedElContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTheevent namein case this execution is passed in for anExecutionListenergetId()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.intbooleanvoidinvokeListener(DelegateListener listener) booleanbooleanboolean<T extends CoreExecution>
voidperformOperation(CoreAtomicOperation<T> operation) <T extends CoreExecution>
voidperformOperationSync(CoreAtomicOperation<T> operation) voidsetBusinessKey(String businessKey) voidsetEventName(String eventName) voidsetEventSource(CoreModelElement eventSource) voidvoidsetListenerIndex(int listenerIndex) voidsetSkipCustomListeners(boolean skipCustomListeners) voidsetSkipIoMappings(boolean skipIoMappings) voidsetSkipSubprocesseses(boolean skipSubprocesses) voidsetTenantId(String tenantId) Methods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
collectVariableNames, collectVariables, dispatchEvent, getCachedElContext, getParentVariableScope, getSourceActivityVariableScope, getValueFromVariableInstance, getVariable, getVariable, getVariableInstance, getVariableInstanceFactory, getVariableInstanceLifecycleListeners, getVariableInstanceLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariableScopeKey, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariableStore, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, initializeVariableStore, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersUpdate, invokeVariableLifecycleListenersUpdate, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setVariable, setVariable, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariableLocal, setVariables, setVariables, setVariablesLocal, setVariablesLocalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.delegate.BaseDelegateExecution
getBusinessKeyMethods inherited from interface org.camunda.bpm.engine.delegate.VariableScope
getVariable, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariableScopeKey, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal
-
Field Details
-
id
-
businessKey
the business key for this execution -
businessKeyWithoutCascade
-
tenantId
-
eventName
-
eventSource
-
listenerIndex
protected int listenerIndex -
skipCustomListeners
protected boolean skipCustomListeners -
skipIoMapping
protected boolean skipIoMapping -
skipSubprocesses
protected boolean skipSubprocesses
-
-
Constructor Details
-
CoreExecution
public CoreExecution()
-
-
Method Details
-
performOperation
-
performOperationSync
-
getEventName
Description copied from interface:BaseDelegateExecutionTheevent namein case this execution is passed in for anExecutionListener- Specified by:
getEventNamein interfaceBaseDelegateExecution
-
setEventName
-
getEventSource
-
setEventSource
-
getListenerIndex
public int getListenerIndex() -
setListenerIndex
public void setListenerIndex(int listenerIndex) -
invokeListener
- Throws:
Exception
-
hasFailedOnEndListeners
public boolean hasFailedOnEndListeners() -
getId
Description copied from interface:BaseDelegateExecutionUnique id of this path of execution that can be used as a handle to provide external signals back into the engine after wait states.- Specified by:
getIdin interfaceBaseDelegateExecution
-
setId
-
getBusinessKeyWithoutCascade
-
setBusinessKey
-
getTenantId
-
setTenantId
-
isSkipCustomListeners
public boolean isSkipCustomListeners() -
setSkipCustomListeners
public void setSkipCustomListeners(boolean skipCustomListeners) -
isSkipIoMappings
public boolean isSkipIoMappings() -
setSkipIoMappings
public void setSkipIoMappings(boolean skipIoMappings) -
isSkipSubprocesses
public boolean isSkipSubprocesses() -
setSkipSubprocesseses
public void setSkipSubprocesseses(boolean skipSubprocesses)
-