|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Config
configuration interface
| Method Summary | ||
|---|---|---|
Map<String,Object> |
all()
|
|
|
contains(IKey<T> key)
returns true if given key is set to this config |
|
|
get(IKey<T> key)
returns the value for the given key. |
|
boolean |
isEmpty()
|
|
|
put(IKey<T> key,
T value)
puts a new config to the configuration map. |
|
|
remove(IKey<T> key)
removes the given key (and its value) from configuration map. |
|
String |
toJsonString()
|
|
| Method Detail |
|---|
String toJsonString()
Map<String,Object> all()
boolean isEmpty()
<T> Config put(IKey<T> key,
T value)
IKey implementation.
key - mandatory parametervalue - mandatory parameter
<T> T remove(IKey<T> key)
key - the key to remove<T> T get(IKey<T> key)
key - The key to read.
<T> boolean contains(IKey<T> key)
key - The key to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||