org.activiti.engine.delegate
Interface DelegateExecution

All Superinterfaces:
VariableScope

public interface DelegateExecution
extends VariableScope

Execution used in JavaDelegates and ExecutionListeners.

Author:
Tom Baeyens

Method Summary
 String getBusinessKey()
          Deprecated. use getProcessBusinessKey() to get the business key for the process associated with this execution, regardless whether or not this execution is a process-instance.
 String getEventName()
          The event name in case this execution is passed in for an ExecutionListener
 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.
 String getProcessBusinessKey()
          The business key for the process instance this execution is associated with.
 String getProcessInstanceId()
          Reference to the overall process instance
 
Methods inherited from interface org.activiti.engine.delegate.VariableScope
createVariableLocal, createVariablesLocal, getVariable, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal
 

Method Detail

getId

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.


getProcessInstanceId

String getProcessInstanceId()
Reference to the overall process instance


getEventName

String getEventName()
The event name in case this execution is passed in for an ExecutionListener


getBusinessKey

String getBusinessKey()
Deprecated. use getProcessBusinessKey() to get the business key for the process associated with this execution, regardless whether or not this execution is a process-instance.

The business key for this execution. Only returns a value if the delegate execution is a process instance.


getProcessBusinessKey

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



Copyright © 2012 Alfresco. All Rights Reserved.