|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.config.PropertyWrapper<java.lang.String>
com.netflix.config.DynamicStringProperty
public class DynamicStringProperty
A dynamic property whose value is a string.
Use APIs in DynamicPropertyFactory to create instance of this class.
| Field Summary |
|---|
| Fields inherited from class com.netflix.config.PropertyWrapper |
|---|
defaultValue, prop |
| Constructor Summary | |
|---|---|
DynamicStringProperty(java.lang.String propName,
java.lang.String defaultValue)
|
|
| Method Summary | |
|---|---|
java.lang.String |
get()
Get the current value from the underlying DynamicProperty |
java.lang.String |
getValue()
Get current typed value of the property. |
| Methods inherited from class com.netflix.config.PropertyWrapper |
|---|
addCallback, addValidator, getChangedTimestamp, getDefaultValue, getDynamicProperty, getName, propertyChanged, propertyChanged, registerSubClassWithNoCallback, removeAllCallbacks, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicStringProperty(java.lang.String propName,
java.lang.String defaultValue)
| Method Detail |
|---|
public java.lang.String get()
public java.lang.String getValue()
PropertyWrapper
getValue in interface Property<java.lang.String>getValue in class PropertyWrapper<java.lang.String>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||