public class NPropertiesHolder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NPropertiesHolder.NScopedValue |
| Constructor and Description |
|---|
NPropertiesHolder() |
| Modifier and Type | Method and Description |
|---|---|
NPropertiesHolder |
copy() |
<T> net.thevpc.nuts.util.NOptional<T> |
getOptional(String key) |
<T> T |
getOrComputeProperty(String key,
Supplier<T> supplier,
net.thevpc.nuts.spi.NScopeType scope) |
Object |
getProperty(String key) |
NPropertiesHolder.NScopedValue |
getScopedValue(String key) |
Set<String> |
keySet() |
void |
setProperties(Map<String,Object> properties,
net.thevpc.nuts.spi.NScopeType scope) |
Object |
setProperty(String key,
Object value,
net.thevpc.nuts.spi.NScopeType scope) |
int |
size() |
Map<String,Object> |
toMap() |
String |
toString() |
public NPropertiesHolder copy()
public void setProperties(Map<String,Object> properties, net.thevpc.nuts.spi.NScopeType scope)
public NPropertiesHolder.NScopedValue getScopedValue(String key)
public <T> net.thevpc.nuts.util.NOptional<T> getOptional(String key)
public <T> T getOrComputeProperty(String key, Supplier<T> supplier, net.thevpc.nuts.spi.NScopeType scope)
public Object setProperty(String key, Object value, net.thevpc.nuts.spi.NScopeType scope)
public int size()
Copyright © 2025 vpc open source initiative. All rights reserved.