public static enum Admin.PrincipalType extends Enum<Admin.PrincipalType>
| Modifier and Type | Method and Description |
|---|---|
static Admin.PrincipalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Admin.PrincipalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Admin.PrincipalType PRINCIPAL
public static final Admin.PrincipalType USER
public static final Admin.PrincipalType GROUP
public static Admin.PrincipalType[] values()
for (Admin.PrincipalType c : Admin.PrincipalType.values()) System.out.println(c);
public static Admin.PrincipalType 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 nullThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.