public static enum Storm.Role extends java.lang.Enum<Storm.Role>
| Enum Constant and Description |
|---|
NIMBUS |
SUPERVISOR |
UI |
| Modifier and Type | Method and Description |
|---|---|
static Storm.Role |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storm.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storm.Role NIMBUS
public static final Storm.Role SUPERVISOR
public static final Storm.Role UI
public static Storm.Role[] values()
for (Storm.Role c : Storm.Role.values()) System.out.println(c);
public static Storm.Role valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null