org.camunda.bpm.engine.runtime
Interface Execution

All Known Subinterfaces:
ProcessInstance
All Known Implementing Classes:
ExecutionEntity

public interface Execution

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

Author:
Joram Barrez

Method Summary
 String getId()
          The unique identifier of the execution.
 String getProcessInstanceId()
          Id of the root of the execution tree representing the process instance.
 String getTenantId()
          The id of the tenant this execution belongs to.
 boolean isEnded()
          Indicates if the execution is ended.
 boolean isSuspended()
          Indicates if the execution is suspended.
 

Method Detail

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.


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.


getTenantId

String getTenantId()
The id of the tenant this execution belongs to. Can be null if the execution belongs to no single tenant.



Copyright © 2016 camunda services GmbH. All rights reserved.