public class Deprecation extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Deprecation.Level
Define the deprecation level.
|
Constructor and Description |
---|
Deprecation() |
Modifier and Type | Method and Description |
---|---|
Deprecation.Level |
getLevel()
Define the
Deprecation.Level of deprecation. |
String |
getReason()
A reason why the related property is deprecated, if any.
|
String |
getReplacement()
The full name of the property that replaces the related deprecated property, if
any.
|
String |
getShortReason()
A single-line, single-sentence reason why the related property is deprecated, if
any.
|
void |
setLevel(Deprecation.Level level) |
void |
setReason(String reason) |
void |
setReplacement(String replacement) |
void |
setShortReason(String shortReason) |
String |
toString() |
public Deprecation.Level getLevel()
Deprecation.Level
of deprecation.public void setLevel(Deprecation.Level level)
public String getReason()
getShortReason()
public void setReason(String reason)
public String getShortReason()
getReason()
public void setShortReason(String shortReason)
public String getReplacement()
public void setReplacement(String replacement)