public enum ApplicationAction extends Enum<ApplicationAction>
Enum Constant and Description |
---|
LOGIN
The login.
|
REGISTER_USER
The register user.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationAction REGISTER_USER
public static final ApplicationAction LOGIN
public static ApplicationAction[] values()
for (ApplicationAction c : ApplicationAction.values()) System.out.println(c);
public static ApplicationAction 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 © 2008–2017 www.hack23.com. All rights reserved.