public enum InputOption extends java.lang.Enum<InputOption>
| Enum Constant and Description |
|---|
ASSUME_QUOTED
Assume quoted parameters are allowed, ignoring the command's settings.
|
DISALLOW_FLAGS
Disallow parsing any flags from the input.
|
FLAGS_AT_END
Only parse flags that are at the end of the input.
|
STRICT_QUOTE_PARSING
Enforce strict quote parsing.
|
| Modifier and Type | Method and Description |
|---|---|
static InputOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputOption ASSUME_QUOTED
public static final InputOption DISALLOW_FLAGS
public static final InputOption FLAGS_AT_END
Treat everything else as normal parameters.
public static final InputOption STRICT_QUOTE_PARSING
For example, an unclosed quote will result in a parsing error.
public static InputOption[] values()
for (InputOption c : InputOption.values()) System.out.println(c);
public static InputOption 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 null