Package org.apache.commons.cli
Class DeprecatedAttributes
java.lang.Object
org.apache.commons.cli.DeprecatedAttributes
Deprecated attributes.
Note: This class isn't called "Deprecated" to avoid clashing with "java.lang.Deprecated".
If you want to serialize this class, use a serialization proxy.
- Since:
- 1.7.0
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeprecatedAttributes.Builder
builder()
Creates a new builder.Gets the descriptions.getSince()
Gets version in which the option became deprecated.boolean
Tests whether this option is subject to removal in a future version.toString()
-
Method Details
-
builder
Creates a new builder.- Returns:
- a new builder.
-
getDescription
Gets the descriptions.- Returns:
- the descriptions.
-
getSince
Gets version in which the option became deprecated.- Returns:
- the version in which the option became deprecated.
-
isForRemoval
Tests whether this option is subject to removal in a future version.- Returns:
- whether this option is subject to removal in a future version.
-
toString
-