public enum UserAction extends Enum<UserAction>
Enum Constant and Description |
---|
AFTER_CREATE |
AFTER_EDIT |
CREATE |
EDIT |
GO_HOME |
VIEW |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static UserAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAction VIEW
public static final UserAction EDIT
public static final UserAction CREATE
public static final UserAction AFTER_EDIT
public static final UserAction AFTER_CREATE
public static final UserAction GO_HOME
public static UserAction[] values()
for (UserAction c : UserAction.values()) System.out.println(c);
public static UserAction 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 toString()
toString
in class Enum<UserAction>
Copyright © 2016 Nuxeo SA. All rights reserved.