Package org.camunda.bpm.engine.history
Interface HistoricVariableInstance
-
- All Known Implementing Classes:
HistoricVariableInstanceEntity
public interface HistoricVariableInstanceA 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.StringSTATE_CREATEDstatic java.lang.StringSTATE_DELETED
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetActivityInstanceId()Returns the corresponding activity instance id.java.lang.StringgetActivtyInstanceId()Deprecated.java.lang.StringgetCaseDefinitionId()The case definition reference.java.lang.StringgetCaseDefinitionKey()The case definition key reference.java.lang.StringgetCaseExecutionId()Return the corresponding case execution id.java.lang.StringgetCaseInstanceId()The case instance reference.java.util.DategetCreateTime()The time when the variable was created.java.lang.StringgetErrorMessage()If the variable value could not be loaded, this returns the error message.java.lang.StringgetExecutionId()Return the corresponding execution id.java.lang.StringgetId()java.lang.StringgetName()Returns the name of this variable instance.java.lang.StringgetProcessDefinitionId()The process definition reference.java.lang.StringgetProcessDefinitionKey()The process definition key reference.java.lang.StringgetProcessInstanceId()The process instance reference.java.util.DategetRemovalTime()The time when the historic variable instance will be removed.java.lang.StringgetRootProcessInstanceId()The root process instance reference.java.lang.StringgetState()The current state of the variable.java.lang.StringgetTaskId()Return the corresponding task id.java.lang.StringgetTenantId()The id of the tenant this variable belongs to.TypedValuegetTypedValue()Returns theTypedValueof this variable instance.java.lang.StringgetTypeName()Returns the name of the type of this variable instancejava.lang.ObjectgetValue()Returns the value of this variable instance.java.lang.StringgetVariableName()Deprecated.java.lang.StringgetVariableTypeName()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 theTypedValueof 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 benullif 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.
-
-