public enum AuthorizationType extends Enum<AuthorizationType>
Enum Constant and Description |
---|
EITHER
Either type is being granted permissions.
|
GROUP |
USER |
Modifier and Type | Method and Description |
---|---|
String |
toPrefix() |
static AuthorizationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationType EITHER
public static final AuthorizationType GROUP
public static final AuthorizationType USER
public static AuthorizationType[] values()
for (AuthorizationType c : AuthorizationType.values()) System.out.println(c);
public static AuthorizationType 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 nullpublic String toPrefix()
Copyright © 2016–2022. All rights reserved.