public class DefaultValueHintProvider extends Object implements ValueHintProvider
ValueHintProvider that returns hints explicitly
defined by a property.| Constructor and Description |
|---|
DefaultValueHintProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<org.springframework.boot.configurationmetadata.ValueHint> |
generateValueHints(org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty property,
ClassLoader classLoader)
For a given property, return a list of
ValueHint that may apply. |
boolean |
isExclusive(org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty property)
Return
true if the values returned by this provider
are the only values that apply as completion proposals. |
public List<org.springframework.boot.configurationmetadata.ValueHint> generateValueHints(org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty property, ClassLoader classLoader)
ValueHintProviderValueHint that may apply.generateValueHints in interface ValueHintProviderproperty - property for which to generate value hintsclassLoader - class loader for the artifact/module that this
property applies to; this may be used to load other classes/resources
for generating value hintspublic boolean isExclusive(org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty property)
ValueHintProvidertrue if the values returned by this provider
are the only values that apply as completion proposals. If this
returns true, then no other kind of completion
applies until one of the returned values has been typed in full.isExclusive in interface ValueHintProviderproperty - property for which to determine if the values
returned by this provider are exclusivetrue if the values returned by this provider are exclusive,
thus requiring one of these values to be provided before any other
ValueHintProvider may be appliedCopyright © 2016 Pivotal Software, Inc.. All rights reserved.