public enum CliEvent extends Enum<CliEvent>
| Enum Constant and Description |
|---|
CONNECTED |
DISCONNECTED |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static CliEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CliEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CliEvent CONNECTED
public static final CliEvent DISCONNECTED
public static CliEvent[] values()
for (CliEvent c : CliEvent.values()) System.out.println(c);
public static CliEvent 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 © 2014 JBoss by Red Hat. All rights reserved.