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 <christopher.zell@camunda.com>
  • Field Details

    • 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 Details

    • ExecutionVariableSnapshotObserver

      public ExecutionVariableSnapshotObserver(ExecutionEntity executionEntity)
    • ExecutionVariableSnapshotObserver

      public ExecutionVariableSnapshotObserver(ExecutionEntity executionEntity, boolean localVariables, boolean deserializeValues)
  • Method Details

    • 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 interface ExecutionObserver
      Parameters:
      execution - the execution which is been observed
    • getVariables

      public VariableMap getVariables()