Interface ProcessInstanceLog
-
public interface ProcessInstanceLogAudit view of process instance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.LonggetDuration()Amount of time (in milliseconds) that process instance took to complete.java.util.DategetEnd()End date of this process instance, null if process instance is still activejava.lang.StringgetExternalId()External (optional) identifier associated with this process instancejava.lang.StringgetIdentity()Identifier of a entity (user) who initiated this process instance.java.lang.StringgetOutcome()Outcome of the process instance that is providing error information in case process instance completed with an errorjava.lang.LonggetParentProcessInstanceId()Parent process instance id, will be null for top level process instancejava.lang.StringgetProcessId()Process id of the definitionjava.lang.StringgetProcessInstanceDescription()Description of the process instancejava.lang.LonggetProcessInstanceId()Process instance identifierjava.lang.StringgetProcessName()Name of the process definitionjava.lang.StringgetProcessVersion()Version of the process definitionjava.util.DategetStart()Start date of this process instancejava.lang.IntegergetStatus()Status of the process instance and might be one of: ProcessInstance.STATE_ACTIVE ProcessInstance.STATE_COMPLETED ProcessInstance.STATE_ABORTED ProcessInstance.STATE_SUSPENDED
-
-
-
Method Detail
-
getProcessInstanceId
java.lang.Long getProcessInstanceId()
Process instance identifier- Returns:
- the
Longvalue
-
getProcessId
java.lang.String getProcessId()
Process id of the definition- Returns:
- the
Stringvalue
-
getStart
java.util.Date getStart()
Start date of this process instance- Returns:
- the
Datevalue
-
getEnd
java.util.Date getEnd()
End date of this process instance, null if process instance is still active- Returns:
- the
Datevalue
-
getStatus
java.lang.Integer getStatus()
Status of the process instance and might be one of:- ProcessInstance.STATE_ACTIVE
- ProcessInstance.STATE_COMPLETED
- ProcessInstance.STATE_ABORTED
- ProcessInstance.STATE_SUSPENDED
- Returns:
- the
Integervalue
-
getParentProcessInstanceId
java.lang.Long getParentProcessInstanceId()
Parent process instance id, will be null for top level process instance- Returns:
- the
Longvalue
-
getOutcome
java.lang.String getOutcome()
Outcome of the process instance that is providing error information in case process instance completed with an error- Returns:
- the
Stringvalue
-
getDuration
java.lang.Long getDuration()
Amount of time (in milliseconds) that process instance took to complete. Available only when process instance is completed.- Returns:
- the
Stringvalue
-
getIdentity
java.lang.String getIdentity()
Identifier of a entity (user) who initiated this process instance.- Returns:
- the
Stringvalue
-
getExternalId
java.lang.String getExternalId()
External (optional) identifier associated with this process instance- Returns:
- the
Stringvalue
-
getProcessVersion
java.lang.String getProcessVersion()
Version of the process definition- Returns:
- the
Stringvalue
-
getProcessName
java.lang.String getProcessName()
Name of the process definition- Returns:
- the
Stringvalue
-
getProcessInstanceDescription
java.lang.String getProcessInstanceDescription()
Description of the process instance- Returns:
- the
Stringvalue
-
-