java.lang.Object
org.springframework.boot.configurationprocessor.metadata.ItemDeprecation

public class ItemDeprecation extends Object
Describe an item deprecation.
Since:
1.3.0
  • Constructor Details

    • ItemDeprecation

      public ItemDeprecation()
    • ItemDeprecation

      public ItemDeprecation(String reason, String replacement)
    • ItemDeprecation

      public ItemDeprecation(String reason, String replacement, String level)
  • Method Details

    • getReason

      public String getReason()
    • setReason

      public void setReason(String reason)
    • getReplacement

      public String getReplacement()
    • setReplacement

      public void setReplacement(String replacement)
    • getLevel

      public String getLevel()
    • setLevel

      public void setLevel(String level)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object