Package org.activiti.engine.history
Interface HistoricVariableInstance
- All Superinterfaces:
HistoricData
- All Known Subinterfaces:
HistoricVariableInstanceEntity
- All Known Implementing Classes:
HistoricVariableInstanceEntityImpl
A single process variable containing the last value when its process instance has finished. It is only available when HISTORY_LEVEL is set >= VARIABLE
-
Method Summary
Methods inherited from interface org.activiti.engine.history.HistoricData
getTime
-
Method Details
-
getId
String getId()The unique DB id -
getVariableName
String getVariableName() -
getVariableTypeName
String getVariableTypeName() -
getValue
Object getValue() -
getProcessInstanceId
String getProcessInstanceId()The process instance reference. -
getTaskId
String getTaskId()- Returns:
- the task id of the task, in case this variable instance has been set locally on a task. Returns null, if this variable is not related to a task.
-
getCreateTime
Date getCreateTime()Returns the time when the variable was created. -
getLastUpdatedTime
Date getLastUpdatedTime()Returns the time when the value of the variable was last updated. Note that aHistoricVariableInstanceonly contains the latest value of the variable. The actual different value and value changes are recorded inHistoricVariableUpdateinstances, which are captured onHistoryLevelFULL.
-