public static enum GroovyCommand.Command extends Enum<GroovyCommand.Command>
| Modifier and Type | Method and Description |
|---|---|
static GroovyCommand.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroovyCommand.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroovyCommand.Command INSPECT
public static final GroovyCommand.Command CONSOLE
public static final GroovyCommand.Command GRAB
public static GroovyCommand.Command[] values()
for (GroovyCommand.Command c : GroovyCommand.Command.values()) System.out.println(c);
public static GroovyCommand.Command 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 © 2020. All rights reserved.