|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SelectionProperty
Represents a deferred binding property. The deferred binding property may or may not have a single value applied across all permutations. SelectionProperty implementations must support object identity comparisons.
A similarly-named interface
used in generators.
Method Summary | |
---|---|
java.lang.String |
getFallbackValue()
Returns the fallback value or an empty string if not defined. |
java.lang.String |
getName()
Returns the name of the deferred binding property. |
java.util.SortedSet<java.lang.String> |
getPossibleValues()
Returns all possible values for this deferred binding property. |
java.lang.String |
getPropertyProvider(TreeLogger logger,
java.util.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. |
java.lang.String |
tryGetValue()
Returns the defined value for the deferred binding property or null if the value of the property is not constant. |
Method Detail |
---|
java.lang.String getFallbackValue()
java.lang.String getName()
java.util.SortedSet<java.lang.String> getPossibleValues()
java.lang.String getPropertyProvider(TreeLogger logger, java.util.SortedSet<ConfigurationProperty> configProperties) throws UnableToCompleteException
logger
- logger to use for any warnings/errorsconfigProperties
- set of configuration properties
UnableToCompleteException
- 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.
java.lang.String tryGetValue()
null
if the value of the property is not constant.
CompilationResult.getPropertyMap()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |