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

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
All Implemented Interfaces:
CoreVariableStore
Direct Known Subclasses:
SimpleVariableStore

public abstract class MapBasedVariableStore
extends AbstractVariableStore

A simple CoreVariableStore implementation based on a Map

Author:
Thorben Lindhauer

Field Summary
protected  Map<String,CoreVariableInstance> variables
           
 
Constructor Summary
MapBasedVariableStore()
           
 
Method Summary
 boolean containsVariableInstance(String variableName)
           
 CoreVariableInstance getVariableInstance(String variableName)
           
 Map<String,CoreVariableInstance> getVariableInstances()
           
 Collection<CoreVariableInstance> getVariableInstancesValues()
           
 Set<String> getVariableNames()
           
 boolean isEmpty()
           
 CoreVariableInstance removeVariableInstance(String variableName, AbstractVariableScope sourceActivityExecution)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableStore
createOrUpdateVariable, createVariableInstance, setVariableValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.impl.core.variable.scope.CoreVariableStore
createTransientVariable
 

Field Detail

variables

protected Map<String,CoreVariableInstance> variables
Constructor Detail

MapBasedVariableStore

public MapBasedVariableStore()
Method Detail

getVariableInstancesValues

public Collection<CoreVariableInstance> getVariableInstancesValues()

getVariableInstance

public CoreVariableInstance getVariableInstance(String variableName)

getVariableNames

public Set<String> getVariableNames()

isEmpty

public boolean isEmpty()

containsVariableInstance

public boolean containsVariableInstance(String variableName)

removeVariableInstance

public CoreVariableInstance removeVariableInstance(String variableName,
                                                   AbstractVariableScope sourceActivityExecution)

getVariableInstances

public Map<String,CoreVariableInstance> getVariableInstances()


Copyright © 2015 camunda services GmbH. All rights reserved.