Package org.camunda.bpm.engine.history
Interface HistoricVariableInstance
-
- All Known Implementing Classes:
HistoricVariableInstanceEntity
public interface HistoricVariableInstance
A single process variable containing the last value when its process instance has finished. It is only available when HISTORY_LEVEL is set >= AUDIT- Author:
- Christian Lipphardt (camunda), ruecker
-
-
Field Summary
Fields Modifier and Type Field Description static String
STATE_CREATED
static String
STATE_DELETED
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getActivityInstanceId()
Returns the corresponding activity instance id.String
getActivtyInstanceId()
Deprecated.String
getCaseDefinitionId()
The case definition reference.String
getCaseDefinitionKey()
The case definition key reference.String
getCaseExecutionId()
Return the corresponding case execution id.String
getCaseInstanceId()
The case instance reference.Date
getCreateTime()
The time when the variable was created.String
getErrorMessage()
If the variable value could not be loaded, this returns the error message.String
getExecutionId()
Return the corresponding execution id.String
getId()
String
getName()
Returns the name of this variable instance.String
getProcessDefinitionId()
The process definition reference.String
getProcessDefinitionKey()
The process definition key reference.String
getProcessInstanceId()
The process instance reference.Date
getRemovalTime()
The time when the historic variable instance will be removed.String
getRootProcessInstanceId()
The root process instance reference.String
getState()
The current state of the variable.String
getTaskId()
Return the corresponding task id.String
getTenantId()
The id of the tenant this variable belongs to.TypedValue
getTypedValue()
Returns theTypedValue
of this variable instance.String
getTypeName()
Returns the name of the type of this variable instanceObject
getValue()
Returns the value of this variable instance.String
getVariableName()
Deprecated.String
getVariableTypeName()
Deprecated.
-
-
-
Field Detail
-
STATE_CREATED
static final String STATE_CREATED
- See Also:
- Constant Field Values
-
STATE_DELETED
static final String STATE_DELETED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
String getId()
- Returns:
- the Id of this variable instance
-
getName
String getName()
Returns the name of this variable instance.
-
getTypeName
String getTypeName()
Returns the name of the type of this variable instance- Returns:
- the type name of the variable
-
getValue
Object getValue()
Returns the value of this variable instance.
-
getTypedValue
TypedValue getTypedValue()
Returns theTypedValue
of this variable instance.
-
getVariableName
@Deprecated String getVariableName()
Deprecated.Returns the name of this variable instance.Deprecated since 7.2: use
getName()
instead.
-
getVariableTypeName
@Deprecated String getVariableTypeName()
Deprecated.Returns the name of the type of this variable instance
Deprecated since 7.2: use
getTypeName()
instead.
-
getProcessDefinitionKey
String getProcessDefinitionKey()
The process definition key reference.
-
getProcessDefinitionId
String getProcessDefinitionId()
The process definition reference.
-
getRootProcessInstanceId
String getRootProcessInstanceId()
The root process instance reference.
-
getProcessInstanceId
String getProcessInstanceId()
The process instance reference.
-
getExecutionId
String getExecutionId()
Return the corresponding execution id.
-
getActivtyInstanceId
@Deprecated String getActivtyInstanceId()
Deprecated.Returns the corresponding activity instance id.
-
getActivityInstanceId
String getActivityInstanceId()
Returns the corresponding activity instance id.
-
getCaseDefinitionKey
String getCaseDefinitionKey()
The case definition key reference.
-
getCaseDefinitionId
String getCaseDefinitionId()
The case definition reference.
-
getCaseInstanceId
String getCaseInstanceId()
The case instance reference.
-
getCaseExecutionId
String getCaseExecutionId()
Return the corresponding case execution id.
-
getTaskId
String getTaskId()
Return the corresponding task id.
-
getErrorMessage
String getErrorMessage()
If the variable value could not be loaded, this returns the error message.- Returns:
- an error message indicating why the variable value could not be loaded.
-
getTenantId
String getTenantId()
The id of the tenant this variable belongs to. Can benull
if the variable belongs to no single tenant.
-
getState
String getState()
The current state of the variable. Can be 'CREATED' or 'DELETED'
-
getCreateTime
Date getCreateTime()
The time when the variable was created.
-
getRemovalTime
Date getRemovalTime()
The time when the historic variable instance will be removed.
-
-