public interface PropertyOracle
Modifier and Type | Method and Description |
---|---|
ConfigurationProperty |
getConfigurationProperty(java.lang.String propertyName)
Attempts to get a named configuration property.
|
java.lang.String |
getPropertyValue(TreeLogger logger,
java.lang.String propertyName)
Deprecated.
|
java.lang.String[] |
getPropertyValueSet(TreeLogger logger,
java.lang.String propertyName)
Deprecated.
|
SelectionProperty |
getSelectionProperty(TreeLogger logger,
java.lang.String propertyName)
Attempts to get a named deferred binding property.
|
ConfigurationProperty getConfigurationProperty(java.lang.String propertyName) throws BadPropertyValueException
BadPropertyValueException
if the property is undefined. The
result of invoking this method with the same propertyName
must
be stable.propertyName
- BadPropertyValueException
- if the property is unknown or not a
configuration property@Deprecated java.lang.String getPropertyValue(TreeLogger logger, java.lang.String propertyName) throws BadPropertyValueException
BadPropertyValueException
if the property is
either undefined or has a value that is unsupported. The result of invoking
this method with the same propertyName
must be stable.logger
- the current loggerpropertyName
- the name of the propertyBadPropertyValueException
- if the property is unknown or not of the
right type@Deprecated java.lang.String[] getPropertyValueSet(TreeLogger logger, java.lang.String propertyName) throws BadPropertyValueException
BadPropertyValueException
if the
property is a configuration property or is undefined. The result of
invoking this method with the same propertyName
must be
stable.logger
- the current loggerpropertyName
- the name of the propertyBadPropertyValueException
- if the property is unknown or not of the
right typeSelectionProperty getSelectionProperty(TreeLogger logger, java.lang.String propertyName) throws BadPropertyValueException
BadPropertyValueException
if the property is either undefined
or has a value that is unsupported. The result of invoking this method with
the same propertyName
must be stable.logger
- propertyName
- BadPropertyValueException
- if the property is unknown or not a
selection property