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