public abstract class AbstractDelegateExecution extends SimpleVariableScope implements org.camunda.bpm.engine.delegate.DelegateExecution
It contains all methods that have to be implemented with additional REST API calls or wrapper classes that emulate the Camunda Java API.
| Modifier and Type | Field and Description |
|---|---|
protected org.camunda.bpm.engine.RepositoryService |
repositoryService |
static String |
VARIABLE_NAME_BUSINESS_KEY |
variableStore| Constructor and Description |
|---|
AbstractDelegateExecution() |
AbstractDelegateExecution(Map<String,? extends Object> variables) |
| Modifier and Type | Method and Description |
|---|---|
org.camunda.bpm.engine.runtime.Incident |
createIncident(String incidentType,
String configuration) |
org.camunda.bpm.engine.runtime.Incident |
createIncident(String incidentType,
String configuration,
String message) |
org.camunda.bpm.model.bpmn.instance.FlowElement |
getBpmnModelElementInstance() |
org.camunda.bpm.model.bpmn.BpmnModelInstance |
getBpmnModelInstance() |
String |
getBusinessKey() |
String |
getCurrentActivityName() |
String |
getCurrentTransitionId() |
String |
getEventName() |
String |
getParentActivityInstanceId() |
String |
getParentId() |
String |
getProcessBusinessKey() |
org.camunda.bpm.engine.ProcessEngine |
getProcessEngine() |
org.camunda.bpm.engine.ProcessEngineServices |
getProcessEngineServices() |
org.camunda.bpm.engine.delegate.DelegateExecution |
getProcessInstance() |
org.camunda.bpm.engine.delegate.DelegateExecution |
getSuperExecution() |
boolean |
isCanceled() |
void |
resolveIncident(String incidentId) |
void |
setProcessBusinessKey(String businessKey) |
void |
setVariable(String variableName,
Object value,
String activityId) |
getParentVariableScope, getVariableInstanceFactory, getVariableInstanceLifecycleListeners, getVariableStorecollectVariableNames, 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, setVariablesLocalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActivityInstanceId, getCurrentActivityId, getProcessDefinitionId, getProcessInstanceId, getTenantIdgetVariable, 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, setVariablesLocalpublic static final String VARIABLE_NAME_BUSINESS_KEY
protected org.camunda.bpm.engine.RepositoryService repositoryService
public String getCurrentActivityName()
getCurrentActivityName in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic org.camunda.bpm.model.bpmn.instance.FlowElement getBpmnModelElementInstance()
getBpmnModelElementInstance in interface org.camunda.bpm.engine.delegate.BpmnModelExecutionContextpublic org.camunda.bpm.model.bpmn.BpmnModelInstance getBpmnModelInstance()
getBpmnModelInstance in interface org.camunda.bpm.engine.delegate.BpmnModelExecutionContextpublic org.camunda.bpm.engine.ProcessEngineServices getProcessEngineServices()
getProcessEngineServices in interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAwarepublic org.camunda.bpm.engine.ProcessEngine getProcessEngine()
getProcessEngine in interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAwarepublic String getParentId()
getParentId in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic String getParentActivityInstanceId()
getParentActivityInstanceId in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic String getEventName()
getEventName in interface org.camunda.bpm.engine.delegate.BaseDelegateExecutionpublic String getCurrentTransitionId()
getCurrentTransitionId in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic org.camunda.bpm.engine.delegate.DelegateExecution getProcessInstance()
getProcessInstance in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic org.camunda.bpm.engine.delegate.DelegateExecution getSuperExecution()
getSuperExecution in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic boolean isCanceled()
isCanceled in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic org.camunda.bpm.engine.runtime.Incident createIncident(String incidentType, String configuration)
createIncident in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic org.camunda.bpm.engine.runtime.Incident createIncident(String incidentType, String configuration, String message)
createIncident in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic void resolveIncident(String incidentId)
resolveIncident in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic String getBusinessKey()
getBusinessKey in interface org.camunda.bpm.engine.delegate.BaseDelegateExecutionpublic String getProcessBusinessKey()
getProcessBusinessKey in interface org.camunda.bpm.engine.delegate.DelegateExecutionpublic void setProcessBusinessKey(String businessKey)
setProcessBusinessKey in interface org.camunda.bpm.engine.delegate.DelegateExecutionCopyright © 2022 Camunda Services GmbH. All rights reserved.