Package org.camunda.bpm.engine.runtime
Interface ProcessInstance
-
- All Superinterfaces:
Execution
- All Known Subinterfaces:
ProcessInstanceWithVariables
- All Known Implementing Classes:
ExecutionEntity,ProcessInstanceWithVariablesImpl
public interface ProcessInstance extends Execution
Represents one execution of aProcessDefinition.- Author:
- Tom Baeyens, Joram Barrez, Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBusinessKey()The business key of this process instance.java.lang.StringgetCaseInstanceId()The id of the case instance associated with this process instance.java.lang.StringgetProcessDefinitionId()The id of the process definition of the process instance.java.lang.StringgetRootProcessInstanceId()The id of the root process instance associated with this process instance.booleanisSuspended()returns true if the process instance is suspended-
Methods inherited from interface org.camunda.bpm.engine.runtime.Execution
getId, getProcessInstanceId, getTenantId, isEnded
-
-
-
-
Method Detail
-
getProcessDefinitionId
java.lang.String getProcessDefinitionId()
The id of the process definition of the process instance.
-
getBusinessKey
java.lang.String getBusinessKey()
The business key of this process instance.
-
getRootProcessInstanceId
java.lang.String getRootProcessInstanceId()
The id of the root process instance associated with this process instance.
-
getCaseInstanceId
java.lang.String getCaseInstanceId()
The id of the case instance associated with this process instance.
-
isSuspended
boolean isSuspended()
returns true if the process instance is suspended- Specified by:
isSuspendedin interfaceExecution
-
-