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