public static class Resources.BooleanProp extends Resources.Prop
Modifier and Type | Field and Description |
---|---|
private boolean |
defaultValue |
accessor, hasDefault
key, method
Constructor and Description |
---|
BooleanProp(Resources.PropertyAccessor accessor,
java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
boolean |
defaultValue() |
boolean |
get()
Returns the value of this boolean property.
|
boolean |
get(boolean defaultValue)
Returns the value of this boolean property, returning the given default
value if the property is not set.
|
checkDefault, checkDefault2, hasDefault, isSet
deriveKey
public BooleanProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.