public enum ExampleMode extends java.lang.Enum<ExampleMode> implements OptionHandlerFilter
CmdLineParser.printExample(ExampleMode).| Enum Constant and Description |
|---|
ALL
Deprecated.
Print all defined options in the example.
|
REQUIRED
Deprecated.
Print all required option.
|
ALL, PUBLIC, REQUIRED| Modifier and Type | Method and Description |
|---|---|
static ExampleMode |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ExampleMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfselectpublic static final ExampleMode ALL
This would be useful only when you have small number of options.
public static final ExampleMode REQUIRED
public static ExampleMode[] values()
for (ExampleMode c : ExampleMode.values()) System.out.println(c);
public static ExampleMode 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 nullCopyright © 2003-2013 Kohsuke Kawaguchi. All Rights Reserved.