public static enum Principal.Type extends Enum<Principal.Type>
| Modifier and Type | Method and Description |
|---|---|
static Principal.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Principal.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Principal.Type USER
public static final Principal.Type GROUP
public static Principal.Type[] values()
for (Principal.Type c : Principal.Type.values()) System.out.println(c);
public static Principal.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.