Package com.google.gwt.core.ext
Interface PropertyOracle
- All Known Implementing Classes:
SubsetFilteringPropertyOracle
public interface PropertyOracle
Provides deferred binding property values.
-
Method Summary
Modifier and TypeMethodDescriptiongetConfigurationProperty
(String propertyName) Attempts to get a named configuration property.getSelectionProperty
(TreeLogger logger, String propertyName) Attempts to get a named deferred binding property.
-
Method Details
-
getConfigurationProperty
ConfigurationProperty getConfigurationProperty(String propertyName) throws BadPropertyValueException Attempts to get a named configuration property. ThrowsBadPropertyValueException
if the property is undefined. The result of invoking this method with the samepropertyName
must be stable.- Parameters:
propertyName
-- Returns:
- the configuration property instance (never null)
- Throws:
BadPropertyValueException
- if the property is unknown or not a configuration property
-
getSelectionProperty
SelectionProperty getSelectionProperty(TreeLogger logger, String propertyName) throws BadPropertyValueException Attempts to get a named deferred binding property. ThrowsBadPropertyValueException
if the property is either undefined or has a value that is unsupported. The result of invoking this method with the samepropertyName
must be stable.- Parameters:
logger
-propertyName
-- Returns:
- the selection property instance (never null)
- Throws:
BadPropertyValueException
- if the property is unknown or not a selection property
-