public class Deprecation
extends java.lang.Object
implements java.io.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. |
java.lang.String |
getReason()
A reason why the related property is deprecated, if any.
|
java.lang.String |
getReplacement()
The full name of the property that replaces the related deprecated property, if
any.
|
java.lang.String |
getShortReason()
A single-line, single-sentence reason why the related property is deprecated, if
any.
|
void |
setLevel(Deprecation.Level level) |
void |
setReason(java.lang.String reason) |
void |
setReplacement(java.lang.String replacement) |
void |
setShortReason(java.lang.String shortReason) |
java.lang.String |
toString() |
public Deprecation.Level getLevel()
Deprecation.Level of deprecation.public void setLevel(Deprecation.Level level)
public java.lang.String getReason()
getShortReason()public void setReason(java.lang.String reason)
public java.lang.String getShortReason()
getReason()public void setShortReason(java.lang.String shortReason)
public java.lang.String getReplacement()
public void setReplacement(java.lang.String replacement)
public java.lang.String toString()
toString in class java.lang.Object