public static enum CommandLineOptionGroup.Cardinality extends Enum<CommandLineOptionGroup.Cardinality>
CommandLineOptionGroup.cardinality()| Enum Constant and Description | 
|---|
| EXACTLY_ONEIndicates that exactly one of the options of the group must appear on the command line. | 
| ONE_OR_MOREIndicates that one or more of the options of the group must appear on the command line. | 
| ZERO_OR_ONEIndicates that zero or one of the options of the group must appear on the command line. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CommandLineOptionGroup.Cardinality | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CommandLineOptionGroup.Cardinality[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CommandLineOptionGroup.Cardinality ZERO_OR_ONE
public static final CommandLineOptionGroup.Cardinality EXACTLY_ONE
public static final CommandLineOptionGroup.Cardinality ONE_OR_MORE
public static CommandLineOptionGroup.Cardinality[] values()
for (CommandLineOptionGroup.Cardinality c : CommandLineOptionGroup.Cardinality.values()) System.out.println(c);
public static CommandLineOptionGroup.Cardinality valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Arno Unkrig. All rights reserved.