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