Class SingleVariableContext
java.lang.Object
org.camunda.bpm.engine.variable.impl.context.SingleVariableContext
- All Implemented Interfaces:
- VariableContext
An 
VariableContext allowing to resolve a single variable only.- Author:
- Daniel Meyer
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontainsVariable(String name) Checks whether a variable with the given name is resolve through this context.keySet()Resolve a value in this context.static SingleVariableContextsingleVariable(String name, TypedValue value) 
- 
Field Details- 
typedValue
- 
name
 
- 
- 
Constructor Details- 
SingleVariableContext
 
- 
- 
Method Details- 
resolveDescription copied from interface:VariableContextResolve a value in this context.- Specified by:
- resolvein interface- VariableContext
- Parameters:
- variableName- the name of the variable to resolve.
- Returns:
- the value of the variable or null in case the variable does not exist.
 
- 
containsVariableDescription copied from interface:VariableContextChecks whether a variable with the given name is resolve through this context.- Specified by:
- containsVariablein interface- VariableContext
- Parameters:
- name- the name of the variable to check
- Returns:
- true if the variable is resolve.
 
- 
keySet- Specified by:
- keySetin interface- VariableContext
- Returns:
- a set of all variable names resolvable through this Context.
 
- 
singleVariable
 
-