public enum ActionType extends Enum<ActionType>
Enum Constant and Description |
---|
create |
delete |
partialupdate |
update |
Modifier and Type | Method and Description |
---|---|
static ActionType |
getActionType(String action)
Returns the
ActionType of the given
action or null if the action given is invalid |
static ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionType create
public static final ActionType update
public static final ActionType delete
public static final ActionType partialupdate
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType 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 static ActionType getActionType(String action)
ActionType
of the given
action or null if the action given is invalidaction
- The actionActionType
based on the
given actionCopyright © 2019. All rights reserved.