public class ScopeContextAdaptor extends Object implements XScopeContext
| Constructor and Description |
|---|
ScopeContextAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
<H> void |
addScopeVar(String key,
H value) |
void |
clearScopeVars() |
XScopeContext |
copyOf() |
String |
getName() |
<H> Optional<H> |
getScopeVar(String key,
Class<H> type) |
Optional<String> |
getScopeVarAsString(String key) |
Map<String,Object> |
getScopeVars() |
boolean |
hasScopeVar(String key) |
void |
removeScopeVar(String key) |
public String getName()
getName in interface XScopeContextpublic void clearScopeVars()
clearScopeVars in interface XScopeContextpublic boolean hasScopeVar(String key)
hasScopeVar in interface XScopeContextpublic <H> void addScopeVar(String key, H value)
addScopeVar in interface XScopeContextpublic <H> Optional<H> getScopeVar(String key, Class<H> type)
getScopeVar in interface XScopeContextpublic Optional<String> getScopeVarAsString(String key)
getScopeVarAsString in interface XScopeContextpublic void removeScopeVar(String key)
removeScopeVar in interface XScopeContextpublic Map<String,Object> getScopeVars()
getScopeVars in interface XScopeContextpublic XScopeContext copyOf()
copyOf in interface XScopeContextCopyright © 2016–2019 AdroitLogic. All rights reserved.