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