@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Parameter
Modifier and Type | Optional Element and Description |
---|---|
int |
argCount
The number of argument values this option can take.
|
String |
argName
The display name of the argument value.
|
boolean |
argOptional
If the option can have an optional argument.
|
String |
description
The description of the option.
|
String |
groupId
Any other options sharing this same key / identifier will be placed into an
OptionGroup (a group of mutually exclusive options). |
String |
longName
The long name of the option.
|
String |
name
The name of the option.
|
boolean |
required
If the option is required.
|
char |
valueSeparator
The character used to separate values.
|
public abstract String name
Option.getOpt()
public abstract String longName
Option.getLongOpt()
public abstract String description
Option.getDescription()
public abstract String argName
Option.getArgName()
public abstract int argCount
Option.getArgs()
public abstract boolean argOptional
Option.setOptionalArg(boolean)
public abstract char valueSeparator
Option.getValueSeparator()
public abstract boolean required
Option.isRequired()
public abstract String groupId
OptionGroup
(a group of mutually exclusive options).Copyright © 2007–2017 Mark A. Ziesemer. All rights reserved.