public interface SelectionProperty
Modifier and Type | Method and Description |
---|---|
String |
getFallbackValue()
Returns the fallback value or an empty string if not defined.
|
String |
getName()
Returns the name of the deferred binding property.
|
SortedSet<String> |
getPossibleValues()
Returns all possible values for this deferred binding property.
|
String |
getPropertyProvider(TreeLogger logger,
SortedSet<ConfigurationProperty> configProperties)
Returns a raw function body that provides the runtime value to be used for
a deferred binding property.
|
boolean |
isDerived()
Returns
true if the value of the SelectionProperty is always
derived from other SelectionProperties and, as a consequence, the property
provider never needs to be evaluated. |
String |
tryGetValue()
Returns the defined value for the deferred binding property or
null if the value of the property is not constant. |
String getFallbackValue()
String getName()
SortedSet<String> getPossibleValues()
String getPropertyProvider(TreeLogger logger, SortedSet<ConfigurationProperty> configProperties) throws UnableToCompleteException
logger
- logger to use for any warnings/errorsconfigProperties
- set of configuration propertiesUnableToCompleteException
- if execution cannot continue, after
having logged a messageboolean isDerived()
true
if the value of the SelectionProperty is always
derived from other SelectionProperties and, as a consequence, the property
provider never needs to be evaluated.String tryGetValue()
null
if the value of the property is not constant.CompilationResult.getPropertyMap()
Copyright © 2018. All rights reserved.