Interface Execution

All Known Subinterfaces:
ProcessInstance, ProcessInstanceWithVariables
All Known Implementing Classes:
ExecutionEntity, ProcessInstanceWithVariablesImpl

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

    Modifier and Type
    Method
    Description
    The unique identifier of the execution.
    Id of the root of the execution tree representing the process instance.
    The id of the tenant this execution belongs to.
    boolean
    Indicates if the execution is ended.
    boolean
    Indicates if the execution is suspended.
  • Method Details

    • 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.