@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Option
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
name
An array of allowed command line parameters (e.g.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String[] |
allowedValues |
int |
arity
How many parameter values this option will consume.
|
java.lang.String |
description
A description of this option.
|
boolean |
hidden
If true, this parameter won't appear in the usage().
|
boolean |
required
Whether this option is required.
|
java.lang.String |
title
Name use to identify the option value in documentation and error messages.
|
OptionType |
type
Is this a command, group or global option
|
public abstract java.lang.String[] name
public abstract OptionType type
public abstract java.lang.String title
public abstract int arity