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 java.lang.String
STATE_CREATED
static java.lang.String
STATE_DELETED
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getActivityInstanceId()
Returns the corresponding activity instance id.java.lang.String
getActivtyInstanceId()
Deprecated.java.lang.String
getCaseDefinitionId()
The case definition reference.java.lang.String
getCaseDefinitionKey()
The case definition key reference.java.lang.String
getCaseExecutionId()
Return the corresponding case execution id.java.lang.String
getCaseInstanceId()
The case instance reference.java.util.Date
getCreateTime()
The time when the variable was created.java.lang.String
getErrorMessage()
If the variable value could not be loaded, this returns the error message.java.lang.String
getExecutionId()
Return the corresponding execution id.java.lang.String
getId()
java.lang.String
getName()
Returns the name of this variable instance.java.lang.String
getProcessDefinitionId()
The process definition reference.java.lang.String
getProcessDefinitionKey()
The process definition key reference.java.lang.String
getProcessInstanceId()
The process instance reference.java.util.Date
getRemovalTime()
The time when the historic variable instance will be removed.java.lang.String
getRootProcessInstanceId()
The root process instance reference.java.lang.String
getState()
The current state of the variable.java.lang.String
getTaskId()
Return the corresponding task id.java.lang.String
getTenantId()
The id of the tenant this variable belongs to.TypedValue
getTypedValue()
Returns theTypedValue
of this variable instance.java.lang.String
getTypeName()
Returns the name of the type of this variable instancejava.lang.Object
getValue()
Returns the value of this variable instance.java.lang.String
getVariableName()
Deprecated.java.lang.String
getVariableTypeName()
Deprecated.
-
-
-
Field Detail
-
STATE_CREATED
static final java.lang.String STATE_CREATED
- See Also:
- Constant Field Values
-
STATE_DELETED
static final java.lang.String STATE_DELETED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
java.lang.String getId()
- Returns:
- the Id of this variable instance
-
getName
java.lang.String getName()
Returns the name of this variable instance.
-
getTypeName
java.lang.String getTypeName()
Returns the name of the type of this variable instance- Returns:
- the type name of the variable
-
getValue
java.lang.Object getValue()
Returns the value of this variable instance.
-
getTypedValue
TypedValue getTypedValue()
Returns theTypedValue
of this variable instance.
-
getVariableName
@Deprecated java.lang.String getVariableName()
Deprecated.Returns the name of this variable instance.Deprecated since 7.2: use
getName()
instead.
-
getVariableTypeName
@Deprecated java.lang.String getVariableTypeName()
Deprecated.Returns the name of the type of this variable instance
Deprecated since 7.2: use
getTypeName()
instead.
-
getProcessDefinitionKey
java.lang.String getProcessDefinitionKey()
The process definition key reference.
-
getProcessDefinitionId
java.lang.String getProcessDefinitionId()
The process definition reference.
-
getRootProcessInstanceId
java.lang.String getRootProcessInstanceId()
The root process instance reference.
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
The process instance reference.
-
getExecutionId
java.lang.String getExecutionId()
Return the corresponding execution id.
-
getActivtyInstanceId
@Deprecated java.lang.String getActivtyInstanceId()
Deprecated.Returns the corresponding activity instance id.
-
getActivityInstanceId
java.lang.String getActivityInstanceId()
Returns the corresponding activity instance id.
-
getCaseDefinitionKey
java.lang.String getCaseDefinitionKey()
The case definition key reference.
-
getCaseDefinitionId
java.lang.String getCaseDefinitionId()
The case definition reference.
-
getCaseInstanceId
java.lang.String getCaseInstanceId()
The case instance reference.
-
getCaseExecutionId
java.lang.String getCaseExecutionId()
Return the corresponding case execution id.
-
getTaskId
java.lang.String getTaskId()
Return the corresponding task id.
-
getErrorMessage
java.lang.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
java.lang.String getTenantId()
The id of the tenant this variable belongs to. Can benull
if the variable belongs to no single tenant.
-
getState
java.lang.String getState()
The current state of the variable. Can be 'CREATED' or 'DELETED'
-
getCreateTime
java.util.Date getCreateTime()
The time when the variable was created.
-
getRemovalTime
java.util.Date getRemovalTime()
The time when the historic variable instance will be removed.
-
-