java.lang.Object
org.springframework.boot.configurationmetadata.ValueHint
All Implemented Interfaces:
Serializable

public class ValueHint extends Object implements Serializable
Hint for a value a given property may have. Provide the value and an optional description.
Since:
1.3.0
See Also:
  • Constructor Details

    • ValueHint

      public ValueHint()
  • Method Details

    • getValue

      public Object getValue()
      Return the hint value.
      Returns:
      the value
    • setValue

      public void setValue(Object value)
    • getDescription

      public String getDescription()
      A description of this value, if any. Can be multi-lines.
      Returns:
      the description
      See Also:
    • setDescription

      public void setDescription(String description)
    • getShortDescription

      public String getShortDescription()
      A single-line, single-sentence description of this hint, if any.
      Returns:
      the short description
      See Also:
    • setShortDescription

      public void setShortDescription(String shortDescription)
    • toString

      public String toString()
      Overrides:
      toString in class Object