public static enum ScriptCmdLine.ArgType extends Enum<ScriptCmdLine.ArgType>
| Modifier and Type | Method and Description |
|---|---|
String |
value() |
static ScriptCmdLine.ArgType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptCmdLine.ArgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptCmdLine.ArgType INDEXED
public static final ScriptCmdLine.ArgType NAMED
public static ScriptCmdLine.ArgType[] values()
for (ScriptCmdLine.ArgType c : ScriptCmdLine.ArgType.values()) System.out.println(c);
public static ScriptCmdLine.ArgType 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 nullpublic String value()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.