org.activiti.engine.runtime
接口 Execution

所有已知子接口:
ProcessInstance
所有已知实现类:
ExecutionEntity

public interface Execution

Represent a 'path of execution' in a process instance. Note that a ProcessInstance also is an execution.

作者:
Joram Barrez

方法摘要
 String getActivityId()
          Returns the id of the activity where the execution currently is at.
 String getId()
          The unique identifier of the execution.
 String getParentId()
          Gets the id of the parent of this execution.
 String getProcessInstanceId()
          Id of the root of the execution tree representing the process instance.
 boolean isEnded()
          Indicates if the execution is ended.
 boolean isSuspended()
          Indicates if the execution is suspended.
 

方法详细信息

getId

String getId()
The unique identifier of the execution.


isSuspended

boolean isSuspended()
Indicates if the execution is suspended.


isEnded

boolean isEnded()
Indicates if the execution is ended.


getActivityId

String getActivityId()
Returns the id of the activity where the execution currently is at. Returns null if the execution is not a 'leaf' execution (eg concurrent parent).


getProcessInstanceId

String getProcessInstanceId()
Id of the root of the execution tree representing the process instance. It is the same as getId() if this execution is the process instance.


getParentId

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



Copyright © 2013 Alfresco. All rights reserved.