|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The value type of the propertypublic interface Property<T>
Base interface for Archaius properties. Provides common methods across all property implementations.
| Method Summary | |
|---|---|
void |
addCallback(java.lang.Runnable callback)
Add the callback to be triggered when the value of the property is changed |
long |
getChangedTimestamp()
Gets the time (in milliseconds past the epoch) when the property was last set/changed. |
T |
getDefaultValue()
Get the default property value specified at creation time |
java.lang.String |
getName()
Get the name of the property |
T |
getValue()
Get the latest value for the given property |
void |
removeAllCallbacks()
remove all callbacks registered through the instance of property |
| Method Detail |
|---|
T getValue()
T getDefaultValue()
java.lang.String getName()
long getChangedTimestamp()
void addCallback(java.lang.Runnable callback)
callback - void removeAllCallbacks()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||