public interface ContextManagerIF
Modifier and Type | Method and Description |
---|---|
void |
clear()
INTERNAL: Clear all variables hold on stack.
|
Object |
getCurrentScope()
INTERNAL: Gets the current lexical scope.
|
Collection |
getDefaultValue()
INTERNAL: Gets the default value in the current scope.
|
Collection |
getValue(String name)
INTERNAL: Gets value for specified variable name.
|
Collection |
getValue(String name,
Collection defaultValue)
INTERNAL: Gets value for specified variable name.
|
void |
popScope()
INTERNAL: Removes the current set of variables at the top of this stack.
|
void |
pushScope()
INTERNAL: Pushes a new set of variables (name/collection-pairs)
onto the top of this stack.
|
void |
setDefaultValue(Collection coll)
INTERNAL: Sets the default value in the current scope.
|
void |
setDefaultValue(Object obj)
INTERNAL: Sets the default value in the current scope.
|
void |
setValue(String name,
Collection coll)
INTERNAL: Add Collection with specified name to registry.
|
void |
setValue(String name,
Object obj)
INTERNAL: Add Collection with specified name to registry.
|
void |
setValueInScope(Object scope,
String name,
Collection obj)
INTERNAL: Add Collection with specified name to to the registry
identified by
scope . |
Object getCurrentScope()
Collection getValue(String name) throws VariableNotSetException
null
.VariableNotSetException
- if value is due
to a not set variable not available.Collection getValue(String name, Collection defaultValue)
void setValue(String name, Collection coll)
void setValue(String name, Object obj)
void setValueInScope(Object scope, String name, Collection obj)
scope
.Collection getDefaultValue() throws VariableNotSetException
VariableNotSetException
- if value is due
to a not set variable not available.void setDefaultValue(Collection coll)
void setDefaultValue(Object obj)
void pushScope()
void popScope()
void clear()