Interface VariableContext
- All Known Implementing Classes:
- CompositeVariableContext,- EmptyVariableContext,- SingleVariableContext,- VariableMapImpl,- VariableScopeContext
public interface VariableContext
A context for variables. Allows resolving variables.
 An API may choose to accept a VariableContext instead of a map of concrete values
 in situations where passing all available variables would be expensive and
 lazy-loading is a desirable optimization.
- Author:
- Daniel Meyer
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontainsVariable(String variableName) Checks whether a variable with the given name is resolve through this context.keySet()Resolve a value in this context.
- 
Method Details- 
resolveResolve a value in this context.- Parameters:
- variableName- the name of the variable to resolve.
- Returns:
- the value of the variable or null in case the variable does not exist.
 
- 
containsVariableChecks whether a variable with the given name is resolve through this context.- Parameters:
- variableName- the name of the variable to check
- Returns:
- true if the variable is resolve.
 
- 
keySet- Returns:
- a set of all variable names resolvable through this Context.
 
 
-