org.camunda.bpm.engine.impl.core.variable.scope
Class SimpleVariableStore

java.lang.Object
  extended by org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableStore
      extended by org.camunda.bpm.engine.impl.core.variable.scope.MapBasedVariableStore
          extended by org.camunda.bpm.engine.impl.core.variable.scope.SimpleVariableStore
All Implemented Interfaces:
CoreVariableStore

public class SimpleVariableStore
extends MapBasedVariableStore

Author:
Daniel Meyer, Roman Smirnov, Sebastian Menski

Nested Class Summary
static class SimpleVariableStore.SimpleVariableInstance
           
 
Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.MapBasedVariableStore
variables
 
Constructor Summary
SimpleVariableStore()
           
 
Method Summary
 void createTransientVariable(String variableName, org.camunda.bpm.engine.variable.value.TypedValue value, AbstractVariableScope sourceActivityExecution)
          Creates a transient variable in the given scope.
 CoreVariableInstance createVariableInstance(String variableName, org.camunda.bpm.engine.variable.value.TypedValue value, AbstractVariableScope sourceActivityExecution)
           
 void setVariableValue(CoreVariableInstance variableInstance, org.camunda.bpm.engine.variable.value.TypedValue value, AbstractVariableScope sourceActivityExecution)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.MapBasedVariableStore
containsVariableInstance, getVariableInstance, getVariableInstances, getVariableInstancesValues, getVariableNames, isEmpty, removeVariableInstance
 
Methods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableStore
createOrUpdateVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleVariableStore

public SimpleVariableStore()
Method Detail

createVariableInstance

public CoreVariableInstance createVariableInstance(String variableName,
                                                   org.camunda.bpm.engine.variable.value.TypedValue value,
                                                   AbstractVariableScope sourceActivityExecution)
Specified by:
createVariableInstance in class AbstractVariableStore

setVariableValue

public void setVariableValue(CoreVariableInstance variableInstance,
                             org.camunda.bpm.engine.variable.value.TypedValue value,
                             AbstractVariableScope sourceActivityExecution)
Specified by:
setVariableValue in class AbstractVariableStore

createTransientVariable

public void createTransientVariable(String variableName,
                                    org.camunda.bpm.engine.variable.value.TypedValue value,
                                    AbstractVariableScope sourceActivityExecution)
Description copied from interface: CoreVariableStore
Creates a transient variable in the given scope. In contrast to other variables, this variable will not be stored in the data base.



Copyright © 2016 camunda services GmbH. All rights reserved.