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 XScopeContext
public void clearScopeVars()
clearScopeVars
in interface XScopeContext
public boolean hasScopeVar(String key)
hasScopeVar
in interface XScopeContext
public <H> void addScopeVar(String key, H value)
addScopeVar
in interface XScopeContext
public <H> Optional<H> getScopeVar(String key, Class<H> type)
getScopeVar
in interface XScopeContext
public Optional<String> getScopeVarAsString(String key)
getScopeVarAsString
in interface XScopeContext
public void removeScopeVar(String key)
removeScopeVar
in interface XScopeContext
public Map<String,Object> getScopeVars()
getScopeVars
in interface XScopeContext
public XScopeContext copyOf()
copyOf
in interface XScopeContext
Copyright © 2016–2019 AdroitLogic. All rights reserved.