org.camunda.bpm.engine.delegate
Interface DelegateExecution

All Superinterfaces:
BaseDelegateExecution, BpmnModelExecutionContext, ProcessEngineServicesAware, VariableScope
All Known Subinterfaces:
ActivityExecution
All Known Implementing Classes:
ExecutionEntity, ExecutionImpl, PvmExecutionImpl

public interface DelegateExecution
extends BaseDelegateExecution, BpmnModelExecutionContext, ProcessEngineServicesAware

Execution used in JavaDelegates and ExecutionListeners.

Author:
Tom Baeyens

Method Summary
 String getActivityInstanceId()
          return the Id of the activity instance currently executed by this execution
 String getCurrentActivityId()
          Gets the id of the current activity.
 String getCurrentActivityName()
          Gets the name of the current activity.
 String getCurrentTransitionId()
          return the Id of the current transition
 String getParentActivityInstanceId()
          return the Id of the parent activity instance currently executed by this execution
 String getParentId()
          Gets the id of the parent of this execution.
 String getProcessBusinessKey()
          The business key for the process instance this execution is associated with.
 String getProcessDefinitionId()
          The process definition key for the process instance this execution is associated with.
 String getProcessInstanceId()
          Reference to the overall process instance
 
Methods inherited from interface org.camunda.bpm.engine.delegate.BaseDelegateExecution
getBusinessKey, getEventName, getId
 
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
 

Method Detail

getProcessInstanceId

String getProcessInstanceId()
Reference to the overall process instance


getProcessBusinessKey

String getProcessBusinessKey()
The business key for the process instance this execution is associated with.


getProcessDefinitionId

String getProcessDefinitionId()
The process definition key for the process instance this execution is associated with.


getParentId

String getParentId()
Gets the id of the parent of this execution. If null, the execution represents a process-instance.


getCurrentActivityId

String getCurrentActivityId()
Gets the id of the current activity.


getCurrentActivityName

String getCurrentActivityName()
Gets the name of the current activity.


getActivityInstanceId

String getActivityInstanceId()
return the Id of the activity instance currently executed by this execution


getParentActivityInstanceId

String getParentActivityInstanceId()
return the Id of the parent activity instance currently executed by this execution


getCurrentTransitionId

String getCurrentTransitionId()
return the Id of the current transition



Copyright © 2014 camunda services GmbH. All Rights Reserved.