public class SubsetFilteringPropertyOracle extends Object implements PropertyOracle
Constructor and Description |
---|
SubsetFilteringPropertyOracle(Set<String> accessiblePropertyNames,
PropertyOracle wrappedPropertyOracle,
String accessViolationMessage) |
Modifier and Type | Method and Description |
---|---|
ConfigurationProperty |
getConfigurationProperty(String propertyName)
Attempts to get a named configuration property.
|
SelectionProperty |
getSelectionProperty(TreeLogger logger,
String propertyName)
Attempts to get a named deferred binding property.
|
public SubsetFilteringPropertyOracle(Set<String> accessiblePropertyNames, PropertyOracle wrappedPropertyOracle, String accessViolationMessage)
public ConfigurationProperty getConfigurationProperty(String propertyName) throws BadPropertyValueException
PropertyOracle
BadPropertyValueException
if the property is undefined. The
result of invoking this method with the same propertyName
must
be stable.getConfigurationProperty
in interface PropertyOracle
BadPropertyValueException
- if the property is unknown or not a
configuration propertypublic SelectionProperty getSelectionProperty(TreeLogger logger, String propertyName) throws BadPropertyValueException
PropertyOracle
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.getSelectionProperty
in interface PropertyOracle
BadPropertyValueException
- if the property is unknown or not a
selection propertyCopyright © 2018. All rights reserved.