Class ItemHint
java.lang.Object
org.springframework.boot.configurationprocessor.metadata.ItemHint
- All Implemented Interfaces:
Comparable<ItemHint>
Provide hints on an
ItemMetadata. Defines the list of possible values for a
particular item as ItemHint.ValueHint instances.
The name of the hint is the name of the related property with one major
exception for map types as both the keys and values of the map can have hints. In such
a case, the hint should be suffixed by ".keys" or ".values" respectively. Creating a
hint for a map using its property name is therefore invalid.
- Since:
- 1.3.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA hint for a value.static classA value provider. -
Constructor Summary
ConstructorsConstructorDescriptionItemHint(String name, List<ItemHint.ValueHint> values, List<ItemHint.ValueProvider> providers) -
Method Summary
-
Constructor Details
-
ItemHint
public ItemHint(String name, List<ItemHint.ValueHint> values, List<ItemHint.ValueProvider> providers)
-
-
Method Details
-
getName
-
getValues
-
getProviders
-
compareTo
- Specified by:
compareToin interfaceComparable<ItemHint>
-
newHint
-
toString
-