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:
java.io.Serializable
,BaseDelegateExecution
,VariableScope
,VariableEventDispatcher
- Direct Known Subclasses:
CmmnExecution
,PvmExecutionImpl
public abstract class CoreExecution extends AbstractVariableScope implements BaseDelegateExecution
Defines the base API for the execution of an activity.- Author:
- Daniel Meyer, Roman Smirnov, Sebastian Menski
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
businessKey
the business key for this executionprotected java.lang.String
businessKeyWithoutCascade
protected java.lang.String
eventName
protected CoreModelElement
eventSource
protected java.lang.String
id
protected int
listenerIndex
protected boolean
skipCustomListeners
protected boolean
skipIoMapping
protected boolean
skipSubprocesses
protected java.lang.String
tenantId
-
Fields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
cachedElContext
-
-
Constructor Summary
Constructors Constructor Description CoreExecution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBusinessKeyWithoutCascade()
java.lang.String
getEventName()
Theevent name
in case this execution is passed in for anExecutionListener
CoreModelElement
getEventSource()
java.lang.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.int
getListenerIndex()
java.lang.String
getTenantId()
boolean
hasFailedOnEndListeners()
void
invokeListener(DelegateListener listener)
boolean
isSkipCustomListeners()
boolean
isSkipIoMappings()
boolean
isSkipSubprocesses()
<T extends CoreExecution>
voidperformOperation(CoreAtomicOperation<T> operation)
<T extends CoreExecution>
voidperformOperationSync(CoreAtomicOperation<T> operation)
void
setBusinessKey(java.lang.String businessKey)
void
setEventName(java.lang.String eventName)
void
setEventSource(CoreModelElement eventSource)
void
setId(java.lang.String id)
void
setListenerIndex(int listenerIndex)
void
setSkipCustomListeners(boolean skipCustomListeners)
void
setSkipIoMappings(boolean skipIoMappings)
void
setSkipSubprocesseses(boolean skipSubprocesses)
void
setTenantId(java.lang.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, setVariablesLocal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.delegate.BaseDelegateExecution
getBusinessKey
-
Methods 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 Detail
-
id
protected java.lang.String id
-
businessKey
protected java.lang.String businessKey
the business key for this execution
-
businessKeyWithoutCascade
protected java.lang.String businessKeyWithoutCascade
-
tenantId
protected java.lang.String tenantId
-
eventName
protected java.lang.String eventName
-
eventSource
protected CoreModelElement eventSource
-
listenerIndex
protected int listenerIndex
-
skipCustomListeners
protected boolean skipCustomListeners
-
skipIoMapping
protected boolean skipIoMapping
-
skipSubprocesses
protected boolean skipSubprocesses
-
-
Method Detail
-
performOperation
public <T extends CoreExecution> void performOperation(CoreAtomicOperation<T> operation)
-
performOperationSync
public <T extends CoreExecution> void performOperationSync(CoreAtomicOperation<T> operation)
-
getEventName
public java.lang.String getEventName()
Description copied from interface:BaseDelegateExecution
Theevent name
in case this execution is passed in for anExecutionListener
- Specified by:
getEventName
in interfaceBaseDelegateExecution
-
setEventName
public void setEventName(java.lang.String eventName)
-
getEventSource
public CoreModelElement getEventSource()
-
setEventSource
public void setEventSource(CoreModelElement eventSource)
-
getListenerIndex
public int getListenerIndex()
-
setListenerIndex
public void setListenerIndex(int listenerIndex)
-
invokeListener
public void invokeListener(DelegateListener listener) throws java.lang.Exception
- Throws:
java.lang.Exception
-
hasFailedOnEndListeners
public boolean hasFailedOnEndListeners()
-
getId
public java.lang.String getId()
Description copied from interface:BaseDelegateExecution
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.- Specified by:
getId
in interfaceBaseDelegateExecution
-
setId
public void setId(java.lang.String id)
-
getBusinessKeyWithoutCascade
public java.lang.String getBusinessKeyWithoutCascade()
-
setBusinessKey
public void setBusinessKey(java.lang.String businessKey)
-
getTenantId
public java.lang.String getTenantId()
-
setTenantId
public void setTenantId(java.lang.String tenantId)
-
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)
-
-