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