org.apache.qpid.configuration
Class QpidProperty<T>
java.lang.Object
org.apache.qpid.configuration.QpidProperty<T>
- Direct Known Subclasses:
- QpidProperty.QpidBooleanProperty, QpidProperty.QpidIntProperty, QpidProperty.QpidLongProperty, QpidProperty.QpidStringProperty
abstract class QpidProperty<T>
- extends Object
Method Summary |
static QpidProperty<Boolean> |
booleanProperty(Accessor accessor,
Boolean defaultValue,
String... names)
|
static QpidProperty<Boolean> |
booleanProperty(Boolean defaultValue,
String... names)
|
(package private) T |
get()
|
protected abstract T |
getByName(String name)
|
static QpidProperty<Integer> |
intProperty(Accessor accessor,
Integer defaultValue,
String... names)
|
static QpidProperty<Integer> |
intProperty(Integer defaultValue,
String... names)
|
static QpidProperty<Long> |
longProperty(Accessor accessor,
Long defaultValue,
String... names)
|
static QpidProperty<Long> |
longProperty(Long defaultValue,
String... names)
|
static QpidProperty<String> |
stringProperty(Accessor accessor,
String defaultValue,
String... names)
|
static QpidProperty<String> |
stringProperty(String defaultValue,
String... names)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
accessor
protected Accessor accessor
QpidProperty
QpidProperty(T defValue,
String... names)
QpidProperty
QpidProperty(Accessor accessor,
T defValue,
String... names)
get
T get()
getByName
protected abstract T getByName(String name)
booleanProperty
public static QpidProperty<Boolean> booleanProperty(Boolean defaultValue,
String... names)
booleanProperty
public static QpidProperty<Boolean> booleanProperty(Accessor accessor,
Boolean defaultValue,
String... names)
intProperty
public static QpidProperty<Integer> intProperty(Integer defaultValue,
String... names)
intProperty
public static QpidProperty<Integer> intProperty(Accessor accessor,
Integer defaultValue,
String... names)
longProperty
public static QpidProperty<Long> longProperty(Long defaultValue,
String... names)
longProperty
public static QpidProperty<Long> longProperty(Accessor accessor,
Long defaultValue,
String... names)
stringProperty
public static QpidProperty<String> stringProperty(String defaultValue,
String... names)
stringProperty
public static QpidProperty<String> stringProperty(Accessor accessor,
String defaultValue,
String... names)
Licensed to the Apache Software Foundation