Class DeprecatedAttributes

java.lang.Object
org.apache.commons.cli.DeprecatedAttributes

public final class DeprecatedAttributes extends Object
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:
  • Method Details

    • builder

      Creates a new builder.
      Returns:
      a new builder.
    • getDescription

      Gets the descriptions.
      Returns:
      the descriptions.
    • getSince

      public String getSince()
      Gets version in which the option became deprecated.
      Returns:
      the version in which the option became deprecated.
    • isForRemoval

      public boolean 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

      public String toString()
      Overrides:
      toString in class Object