public interface Context
Modifier and Type | Method and Description |
---|---|
Object |
getDefinedVariableValue(String variableName)
Looks up a variable having the given name.
|
String |
getName()
Provides the given name of this context.
|
Context |
getParentContext()
Provides the parent context of this one.
|
Set<String> |
getVariableNames()
Provides a set of names of all locally defined variables.
|
Object |
getVariableValue(String variableName)
Looks up a variable having the given name.
|
Object |
removeVariable(String variableName)
Removes a variable from this local context, if supported.
|
void |
setParentContext(Context superContext)
Sets the parent context for this one.
|
void |
setVariableValue(String variableName,
Object value)
Set a variable value within this local context.
|
String getName()
Object getVariableValue(String variableName)
variableName
- The variable's name.Object getDefinedVariableValue(String variableName)
variableName
- The variable's name.void setVariableValue(String variableName, @Nullable Object value)
variableName
- The variable's name.value
- The value to store.Object removeVariable(String variableName)
variableName
- The variable's name.UnsupportedOperationException
- if the context does not support removing variables.void setParentContext(Context superContext)
superContext
- The parent context.Context getParentContext()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210