Class VariableScopeContext
java.lang.Object
org.camunda.bpm.engine.impl.dmn.invocation.VariableScopeContext
- All Implemented Interfaces:
VariableContext
Implementation of the
VariableContext
interface backed
by a VariableScope
.- Author:
- Daniel Meyer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsVariable
(String variableName) Checks whether a variable with the given name is resolve through this context.keySet()
Resolve a value in this context.static VariableScopeContext
wrap
(VariableScope variableScope)
-
Field Details
-
variableScope
-
-
Constructor Details
-
VariableScopeContext
-
-
Method Details
-
resolve
Description copied from interface:VariableContext
Resolve a value in this context.- Specified by:
resolve
in interfaceVariableContext
- Parameters:
variableName
- the name of the variable to resolve.- Returns:
- the value of the variable or null in case the variable does not exist.
-
containsVariable
Description copied from interface:VariableContext
Checks whether a variable with the given name is resolve through this context.- Specified by:
containsVariable
in interfaceVariableContext
- Parameters:
variableName
- the name of the variable to check- Returns:
- true if the variable is resolve.
-
keySet
- Specified by:
keySet
in interfaceVariableContext
- Returns:
- a set of all variable names resolvable through this Context.
-
wrap
-