com.netflix.config
Class ChainedDynamicProperty.DynamicBooleanPropertyThatSupportsNull

java.lang.Object
  extended by com.netflix.config.PropertyWrapper<java.lang.Boolean>
      extended by com.netflix.config.ChainedDynamicProperty.DynamicBooleanPropertyThatSupportsNull
All Implemented Interfaces:
Property<java.lang.Boolean>
Enclosing class:
ChainedDynamicProperty

public static class ChainedDynamicProperty.DynamicBooleanPropertyThatSupportsNull
extends PropertyWrapper<java.lang.Boolean>


Field Summary
 
Fields inherited from class com.netflix.config.PropertyWrapper
defaultValue, prop
 
Constructor Summary
ChainedDynamicProperty.DynamicBooleanPropertyThatSupportsNull(java.lang.String propName, java.lang.Boolean defaultValue)
           
 
Method Summary
 java.lang.Boolean get()
          Get the current value from the underlying DynamicProperty
 java.lang.Boolean 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

ChainedDynamicProperty.DynamicBooleanPropertyThatSupportsNull

public ChainedDynamicProperty.DynamicBooleanPropertyThatSupportsNull(java.lang.String propName,
                                                                     java.lang.Boolean defaultValue)
Method Detail

get

public java.lang.Boolean get()
Get the current value from the underlying DynamicProperty


getValue

public java.lang.Boolean getValue()
Description copied from class: PropertyWrapper
Get current typed value of the property.

Specified by:
getValue in interface Property<java.lang.Boolean>
Specified by:
getValue in class PropertyWrapper<java.lang.Boolean>
Returns:
the latest property value