Class AbstractDelegateExecution
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
org.camunda.community.migration.adapter.execution.SimpleVariableScope
org.camunda.community.migration.adapter.execution.AbstractDelegateExecution
- All Implemented Interfaces:
Serializable,org.camunda.bpm.engine.delegate.BaseDelegateExecution,org.camunda.bpm.engine.delegate.BpmnModelExecutionContext,org.camunda.bpm.engine.delegate.DelegateExecution,org.camunda.bpm.engine.delegate.ProcessEngineServicesAware,org.camunda.bpm.engine.delegate.VariableScope,org.camunda.bpm.engine.impl.core.variable.event.VariableEventDispatcher
- Direct Known Subclasses:
ZeebeJobDelegateExecution
public abstract class AbstractDelegateExecution
extends SimpleVariableScope
implements org.camunda.bpm.engine.delegate.DelegateExecution
Abstract DelegateExecution that can be used for as base for DelegateExecution implementations for
executing a JavaDelegate.
It contains all methods that have to be implemented with additional REST API calls or wrapper classes that emulate the Camunda Java API.
- Author:
- Falko Menge (Camunda)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.camunda.bpm.engine.RepositoryServicestatic final StringFields inherited from class org.camunda.community.migration.adapter.execution.SimpleVariableScope
variableStoreFields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
cachedElContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.camunda.bpm.engine.runtime.IncidentcreateIncident(String incidentType, String configuration) org.camunda.bpm.engine.runtime.IncidentcreateIncident(String incidentType, String configuration, String message) org.camunda.bpm.model.bpmn.instance.FlowElementorg.camunda.bpm.model.bpmn.BpmnModelInstanceorg.camunda.bpm.engine.ProcessEngineorg.camunda.bpm.engine.ProcessEngineServicesorg.camunda.bpm.engine.delegate.DelegateExecutionorg.camunda.bpm.engine.delegate.DelegateExecutionbooleanvoidresolveIncident(String incidentId) voidsetProcessBusinessKey(String businessKey) voidsetVariable(String variableName, Object value, String activityId) Methods inherited from class org.camunda.community.migration.adapter.execution.SimpleVariableScope
getParentVariableScope, getVariableInstanceFactory, getVariableInstanceLifecycleListeners, getVariableStoreMethods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
collectVariableNames, collectVariables, dispatchEvent, getCachedElContext, getSourceActivityVariableScope, getValueFromVariableInstance, getVariable, getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariableScopeKey, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, 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
getIdMethods inherited from interface org.camunda.bpm.engine.delegate.DelegateExecution
getActivityInstanceId, getCurrentActivityId, getProcessDefinitionId, getProcessInstanceId, getTenantIdMethods 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
-
VARIABLE_NAME_BUSINESS_KEY
- See Also:
-
repositoryService
protected org.camunda.bpm.engine.RepositoryService repositoryService
-
-
Constructor Details
-
AbstractDelegateExecution
public AbstractDelegateExecution() -
AbstractDelegateExecution
-
-
Method Details
-
getCurrentActivityName
- Specified by:
getCurrentActivityNamein interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
getBpmnModelElementInstance
public org.camunda.bpm.model.bpmn.instance.FlowElement getBpmnModelElementInstance()- Specified by:
getBpmnModelElementInstancein interfaceorg.camunda.bpm.engine.delegate.BpmnModelExecutionContext
-
getBpmnModelInstance
public org.camunda.bpm.model.bpmn.BpmnModelInstance getBpmnModelInstance()- Specified by:
getBpmnModelInstancein interfaceorg.camunda.bpm.engine.delegate.BpmnModelExecutionContext
-
getProcessEngineServices
public org.camunda.bpm.engine.ProcessEngineServices getProcessEngineServices()- Specified by:
getProcessEngineServicesin interfaceorg.camunda.bpm.engine.delegate.ProcessEngineServicesAware
-
getProcessEngine
public org.camunda.bpm.engine.ProcessEngine getProcessEngine()- Specified by:
getProcessEnginein interfaceorg.camunda.bpm.engine.delegate.ProcessEngineServicesAware
-
getParentId
- Specified by:
getParentIdin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
getParentActivityInstanceId
- Specified by:
getParentActivityInstanceIdin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
getEventName
- Specified by:
getEventNamein interfaceorg.camunda.bpm.engine.delegate.BaseDelegateExecution
-
getCurrentTransitionId
- Specified by:
getCurrentTransitionIdin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
getProcessInstance
public org.camunda.bpm.engine.delegate.DelegateExecution getProcessInstance()- Specified by:
getProcessInstancein interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
getSuperExecution
public org.camunda.bpm.engine.delegate.DelegateExecution getSuperExecution()- Specified by:
getSuperExecutionin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
isCanceled
public boolean isCanceled()- Specified by:
isCanceledin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
createIncident
public org.camunda.bpm.engine.runtime.Incident createIncident(String incidentType, String configuration) - Specified by:
createIncidentin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
createIncident
public org.camunda.bpm.engine.runtime.Incident createIncident(String incidentType, String configuration, String message) - Specified by:
createIncidentin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
resolveIncident
- Specified by:
resolveIncidentin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
getBusinessKey
- Specified by:
getBusinessKeyin interfaceorg.camunda.bpm.engine.delegate.BaseDelegateExecution
-
getProcessBusinessKey
- Specified by:
getProcessBusinessKeyin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
setProcessBusinessKey
- Specified by:
setProcessBusinessKeyin interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-
setVariable
- Specified by:
setVariablein interfaceorg.camunda.bpm.engine.delegate.DelegateExecution
-