public enum ArgCommand extends java.lang.Enum<ArgCommand>
Argument commands that can be passed to the tool
Enum Constant and Description |
---|
BENCHMARK |
HOME |
SELECTION_STRATEGY |
Modifier and Type | Method and Description |
---|---|
static java.util.List<org.apache.commons.cli.Option> |
options() |
org.apache.commons.cli.Option |
toOption() |
static ArgCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArgCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArgCommand HOME
public static final ArgCommand BENCHMARK
public static final ArgCommand SELECTION_STRATEGY
public static ArgCommand[] values()
for (ArgCommand c : ArgCommand.values()) System.out.println(c);
public static ArgCommand valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic org.apache.commons.cli.Option toOption()
Option
that can be used by CommandLine
public static java.util.List<org.apache.commons.cli.Option> options()
Option
that can be used by CommandLine