Class ExecutionVariableSnapshotObserver
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ExecutionVariableSnapshotObserver
-
- All Implemented Interfaces:
ExecutionObserver
public class ExecutionVariableSnapshotObserver extends Object implements ExecutionObserver
Provides access to the snapshot of latest variables of an execution.- Author:
- Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deserializeValues
protected ExecutionEntity
execution
protected boolean
localVariables
protected VariableMap
variableSnapshot
The variables which are observed during the execution.
-
Constructor Summary
Constructors Constructor Description ExecutionVariableSnapshotObserver(ExecutionEntity executionEntity)
ExecutionVariableSnapshotObserver(ExecutionEntity executionEntity, boolean localVariables, boolean deserializeValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableMap
getVariables()
void
onClear(ExecutionEntity execution)
Callback which is called in the clearExecution method of the ExecutionEntity.
-
-
-
Field Detail
-
variableSnapshot
protected VariableMap variableSnapshot
The variables which are observed during the execution.
-
execution
protected ExecutionEntity execution
-
localVariables
protected boolean localVariables
-
deserializeValues
protected boolean deserializeValues
-
-
Constructor Detail
-
ExecutionVariableSnapshotObserver
public ExecutionVariableSnapshotObserver(ExecutionEntity executionEntity)
-
ExecutionVariableSnapshotObserver
public ExecutionVariableSnapshotObserver(ExecutionEntity executionEntity, boolean localVariables, boolean deserializeValues)
-
-
Method Detail
-
onClear
public void onClear(ExecutionEntity execution)
Description copied from interface:ExecutionObserver
Callback which is called in the clearExecution method of the ExecutionEntity.- Specified by:
onClear
in interfaceExecutionObserver
- Parameters:
execution
- the execution which is been observed
-
getVariables
public VariableMap getVariables()
-
-