org.apache.axis.utils
public final class CLOptionDescriptor extends Object
CLOptionDescriptors,
and passes it to (String[], CLOptionDescriptor[]).
Since: 4.0
| Field Summary | |
|---|---|
| static int | ARGUMENTS_REQUIRED_2 Flag to say this option requires 2 arguments |
| static int | ARGUMENT_DISALLOWED Flag to say this option does not take arguments |
| static int | ARGUMENT_OPTIONAL Flag to say that the argument is optional |
| static int | ARGUMENT_REQUIRED Flag to say that one argument is required |
| static int | DUPLICATES_ALLOWED Flag to say this option may be repeated on the command line |
| Constructor Summary | |
|---|---|
| CLOptionDescriptor(String name, int flags, int id, String description)
Constructor.
| |
| CLOptionDescriptor(String name, int flags, int id, String description, int[] incompatable)
Constructor.
| |
| Method Summary | |
|---|---|
| String | getDescription()
Retrieve textual description.
|
| int | getFlags()
Retrieve flags about option.
|
| int | getId()
Retrieve the id for option.
|
| protected int[] | getIncompatble() |
| protected int[] | getIncompatible() |
| String | getName()
Retrieve name of option which is also text for long option.
|
| String | toString()
Convert to String.
|
Parameters: name the name/long option flags the flags id the id/character option description description of option usage
Parameters: name the name/long option flags the flags id the id/character option description description of option usage
Returns: the description
Returns: the flags
Returns: the id
Deprecated: Use the correctly spelled CLOptionDescriptor instead.
Returns: name/long option
Returns: the converted value to string.