Class VariableScopeResolver
- java.lang.Object
-
- org.camunda.bpm.engine.impl.scripting.engine.VariableScopeResolver
-
- All Implemented Interfaces:
Resolver
public class VariableScopeResolver extends Object implements Resolver
Bindings implementation using anExecutionImplas 'back-end'.- Author:
- Tom Baeyens, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected VariableScopevariableScopeprotected StringvariableScopeKey
-
Constructor Summary
Constructors Constructor Description VariableScopeResolver(VariableScope variableScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(Object key)Allows checking whether there is currently an object bound to the key.Objectget(Object key)Returns the object currently bound to the key or false if no object is currently bound to the keySet<String>keySet()Returns the set of key that can be resolved using this resolver.
-
-
-
Field Detail
-
variableScope
protected VariableScope variableScope
-
variableScopeKey
protected String variableScopeKey
-
-
Constructor Detail
-
VariableScopeResolver
public VariableScopeResolver(VariableScope variableScope)
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
Description copied from interface:ResolverAllows checking whether there is currently an object bound to the key.- Specified by:
containsKeyin interfaceResolver- Parameters:
key- the key to check- Returns:
- true if there is currently an object bound to the key. False otherwise.
-
get
public Object get(Object key)
Description copied from interface:ResolverReturns the object currently bound to the key or false if no object is currently bound to the key
-
-