Package org.activiti.engine.history
Interface HistoricActivityInstance
-
- All Superinterfaces:
HistoricData
- All Known Subinterfaces:
HistoricActivityInstanceEntity
- All Known Implementing Classes:
HistoricActivityInstanceEntityImpl
@Internal public interface HistoricActivityInstance extends HistoricData
Represents one execution of an activity and it's stored permanent for statistics, audit and other business intelligence purposes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActivityId()The unique identifier of the activity in the processjava.lang.StringgetActivityName()The display name for the activityjava.lang.StringgetActivityType()The XML tag of the activity as in the process filejava.lang.StringgetAssignee()Assignee in case of user task activityjava.lang.StringgetCalledProcessInstanceId()The called process instance in case of call activityjava.lang.StringgetDeleteReason()Returns the delete reason for this activity, if any was set (if completed normally, no delete reason is set)java.lang.LonggetDurationInMillis()Difference betweengetEndTime()andgetStartTime().java.util.DategetEndTime()Time when the activity instance endedjava.lang.StringgetExecutionId()Execution referencejava.lang.StringgetId()The unique identifier of this historic activity instance.java.lang.StringgetProcessDefinitionId()Process definition referencejava.lang.StringgetProcessInstanceId()Process instance referencejava.util.DategetStartTime()Time when the activity instance startedjava.lang.StringgetTaskId()The corresponding task in case of task activityjava.lang.StringgetTenantId()Returns the tenant identifier for the historic activity-
Methods inherited from interface org.activiti.engine.history.HistoricData
getTime
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
The unique identifier of this historic activity instance.
-
getActivityId
java.lang.String getActivityId()
The unique identifier of the activity in the process
-
getActivityName
java.lang.String getActivityName()
The display name for the activity
-
getActivityType
java.lang.String getActivityType()
The XML tag of the activity as in the process file
-
getProcessDefinitionId
java.lang.String getProcessDefinitionId()
Process definition reference
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
Process instance reference
-
getExecutionId
java.lang.String getExecutionId()
Execution reference
-
getTaskId
java.lang.String getTaskId()
The corresponding task in case of task activity
-
getCalledProcessInstanceId
java.lang.String getCalledProcessInstanceId()
The called process instance in case of call activity
-
getAssignee
java.lang.String getAssignee()
Assignee in case of user task activity
-
getStartTime
java.util.Date getStartTime()
Time when the activity instance started
-
getEndTime
java.util.Date getEndTime()
Time when the activity instance ended
-
getDurationInMillis
java.lang.Long getDurationInMillis()
Difference betweengetEndTime()andgetStartTime().
-
getDeleteReason
java.lang.String getDeleteReason()
Returns the delete reason for this activity, if any was set (if completed normally, no delete reason is set)
-
getTenantId
java.lang.String getTenantId()
Returns the tenant identifier for the historic activity
-
-