public interface IGlobalPropertyService
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getProperty(java.lang.String key)
Get a value from the global property store (blackboard) and duck-type it
to the specified type
|
<T> T |
getProperty(java.lang.String key,
T defaultValue)
Get the value from the global property store (blackboard) but return
defaultValue if the specified key is not set.
|
java.lang.String |
getPropertyString(java.lang.String key,
java.lang.String defaultValue)
Get a string from the global property store (blackboard), returns default
value if not set or null.
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
Set the specified value in the global property store (blackboard)
|
<T> T getProperty(java.lang.String key)
T - duck typekey - blackboard keyvoid setProperty(java.lang.String key,
java.lang.Object value)
key - blackboard keyvalue - new value<T> T getProperty(java.lang.String key,
T defaultValue)
T - duck typekey - blackboard keydefaultValue - value to return if the key is not set or is nulljava.lang.String getPropertyString(java.lang.String key,
java.lang.String defaultValue)
key - blackboard keydefaultValue - default value to return if the specified key is not
set or is null