Class ValueHint
java.lang.Object
org.springframework.boot.configurationmetadata.ValueHint
- All Implemented Interfaces:
Serializable
Hint for a value a given property may have. Provide the value and an optional
description.
- Since:
- 1.3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA description of this value, if any.A single-line, single-sentence description of this hint, if any.getValue()Return the hint value.voidsetDescription(String description) voidsetShortDescription(String shortDescription) voidtoString()
-
Constructor Details
-
ValueHint
public ValueHint()
-
-
Method Details
-
getValue
Return the hint value.- Returns:
- the value
-
setValue
-
getDescription
A description of this value, if any. Can be multi-lines.- Returns:
- the description
- See Also:
-
setDescription
-
getShortDescription
A single-line, single-sentence description of this hint, if any.- Returns:
- the short description
- See Also:
-
setShortDescription
-
toString
-