Package org.activiti.engine.history
Interface HistoricVariableInstance
-
- All Superinterfaces:
HistoricData
- All Known Subinterfaces:
HistoricVariableInstanceEntity
- All Known Implementing Classes:
HistoricVariableInstanceEntityImpl
@Internal public interface HistoricVariableInstance extends HistoricData
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetCreateTime()Returns the time when the variable was created.java.lang.StringgetId()The unique DB idjava.util.DategetLastUpdatedTime()Returns the time when the value of the variable was last updated.java.lang.StringgetProcessInstanceId()The process instance reference.java.lang.StringgetTaskId()java.lang.ObjectgetValue()java.lang.StringgetVariableName()java.lang.StringgetVariableTypeName()-
Methods inherited from interface org.activiti.engine.history.HistoricData
getTime
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
The unique DB id
-
getVariableName
java.lang.String getVariableName()
-
getVariableTypeName
java.lang.String getVariableTypeName()
-
getValue
java.lang.Object getValue()
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
The process instance reference.
-
getTaskId
java.lang.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
java.util.Date getCreateTime()
Returns the time when the variable was created.
-
getLastUpdatedTime
java.util.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.
-
-