org.camunda.bpm.engine.impl.persistence.entity
Class ExecutionVariableSnapshotObserver

java.lang.Object
  extended by 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
protected  ExecutionEntity execution
           
protected  org.camunda.bpm.engine.variable.VariableMap variableSnapshot
          The variables which are observed during the execution.
 
Constructor Summary
ExecutionVariableSnapshotObserver(ExecutionEntity executionEntity)
           
 
Method Summary
 org.camunda.bpm.engine.variable.VariableMap getVariables()
           
 void onClear(ExecutionEntity execution)
          Callback which is called in the clearExecution method of the ExecutionEntity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variableSnapshot

protected org.camunda.bpm.engine.variable.VariableMap variableSnapshot
The variables which are observed during the execution.


execution

protected ExecutionEntity execution
Constructor Detail

ExecutionVariableSnapshotObserver

public ExecutionVariableSnapshotObserver(ExecutionEntity executionEntity)
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 interface ExecutionObserver
Parameters:
execution - the execution which is been observed

getVariables

public org.camunda.bpm.engine.variable.VariableMap getVariables()


Copyright © 2017 camunda services GmbH. All rights reserved.