Top Deprecated By Reference
args4j 2.37

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.kohsuke.args4j.CmdLineParser.registerHandler(Class<T>
The specified handler is used when the field/method annotated by Option is of this type.
valueType
,
Class<? extends OptionHandler<T>>
This class must have the constructor that has the same signature as OptionHandler#OptionHandler(CmdLineParser, OptionDef, Setter)
handlerClass
)

You should use OptionHandlerRegistry#registerHandler(java.lang.Class, java.lang.Class) instead.

org.kohsuke.args4j.CmdLineParser.setUsageWidth(int
the width of the usage output in columns.
usageWidth
)

Use ParserProperties#withUsageWidth(int) instead.

org.kohsuke.args4j.NamedOptionDef(Option o, boolean forceMultiValued)

multi-valuedness as option definition does not make sense. It's driven by the setter.

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
org.kohsuke.args4j.ExampleMode.ALL

ExampleMode is deprecated or references (maybe indirectly) at least one deprecated element.

org.kohsuke.args4j.ExampleMode.REQUIRED

ExampleMode is deprecated or references (maybe indirectly) at least one deprecated element.

org.kohsuke.args4j.ExampleMode.valueOf(String name)

ExampleMode is deprecated or references (maybe indirectly) at least one deprecated element.

org.kohsuke.args4j.ExampleMode.values()

ExampleMode is deprecated or references (maybe indirectly) at least one deprecated element.