protected static enum RmiRegistryConsole.CommandKeyword extends Enum<RmiRegistryConsole.CommandKeyword>
| Enum Constant and Description |
|---|
ECHO |
EXIT |
HELP |
LIST |
MIRROR |
PING |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static RmiRegistryConsole.CommandKeyword |
getByName(String commandName) |
String |
toString() |
static RmiRegistryConsole.CommandKeyword |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RmiRegistryConsole.CommandKeyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RmiRegistryConsole.CommandKeyword ECHO
public static final RmiRegistryConsole.CommandKeyword EXIT
public static final RmiRegistryConsole.CommandKeyword HELP
public static final RmiRegistryConsole.CommandKeyword LIST
public static final RmiRegistryConsole.CommandKeyword MIRROR
public static final RmiRegistryConsole.CommandKeyword PING
public static final RmiRegistryConsole.CommandKeyword UNKNOWN
public static RmiRegistryConsole.CommandKeyword[] values()
for (RmiRegistryConsole.CommandKeyword c : RmiRegistryConsole.CommandKeyword.values()) System.out.println(c);
public static RmiRegistryConsole.CommandKeyword 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 static RmiRegistryConsole.CommandKeyword getByName(String commandName)
public String toString()
toString in class Enum<RmiRegistryConsole.CommandKeyword>Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.