public interface PropertyProviderGenerator
<property-provider name="foo" generator="org.example.FooGenerator"/>A default implementation in JS can be included inside the property-provider tag as usual, and will be used if the generator returns
null
.Modifier and Type | Method and Description |
---|---|
String |
generate(TreeLogger logger,
SortedSet<String> possibleValues,
String fallback,
SortedSet<ConfigurationProperty> configProperties)
Generate a property provider.
|
String generate(TreeLogger logger, SortedSet<String> possibleValues, String fallback, SortedSet<ConfigurationProperty> configProperties) throws UnableToCompleteException
logger
- TreeLoggerpossibleValues
- the possible values of this propertyfallback
- the fallback value for this property, or nullconfigProperties
- the configuration properties for this moduleUnableToCompleteException
- after logging the message if processing
is unable to continueCopyright © 2018. All rights reserved.