public enum RelayMode extends Enum<RelayMode>
| Modifier and Type | Method and Description |
|---|---|
static RelayMode[] |
all() |
static RelayMode |
parse(String modeAsString) |
String |
toString() |
static RelayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelayMode ADD
public static final RelayMode REMOVE
public static final RelayMode GET
public static RelayMode[] values()
for (RelayMode c : RelayMode.values()) System.out.println(c);
public static RelayMode 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 RelayMode[] all()
Copyright © 2015. All rights reserved.