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