| Modifier and Type | Optional Element and Description | 
|---|---|
| CommandLineOption.Cardinality | cardinalityConfigures how often this option may appear on the command line. | 
| Class<?>[] | groupIndicates that this command line option is related with other command line options, e.g. they are mutually
 exclusive. | 
| String[] | nameThe name(s) that identify the option on the command line. | 
public abstract String[] name
If the name starts with "--", then only the double-hyphen variant is recognized; if it starts with "-", then only the single-hyphen is recognized; otherwise, both variants are recognized.
   If this element is not specified, then the name is derived from the method name as follows: An optional prefix
   "set" or "add" is removed. The rest of the method name is converted from camel case into lower-case-hyphenated notation.
   
   Example: If the method name is "setFooBar", then the following command line options are
   recognized: "-foo-bar" and "--foo-bar".
 
public abstract CommandLineOption.Cardinality cardinality
CommandLineOption.Cardinality.OPTIONAL (the default):CommandLineOption.Cardinality.MANDATORY:CommandLineOption.Cardinality.ONCE_OR_MORE:CommandLineOption.Cardinality.ANY:public abstract Class<?>[] group
Copyright © 2018 Arno Unkrig. All rights reserved.