public static enum Permissions.Action extends Enum<Permissions.Action>
| Enum Constant and Description |
|---|
CONTRIBUTE
Identifier for contribute permissions
|
READ
Identifier for read permissions
|
WRITE
Identifier for write permissions
|
| Modifier and Type | Method and Description |
|---|---|
static Permissions.Action |
getEnum(String value) |
String |
getValue() |
String |
toString() |
static Permissions.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permissions.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permissions.Action READ
public static final Permissions.Action WRITE
public static final Permissions.Action CONTRIBUTE
public static Permissions.Action[] values()
for (Permissions.Action c : Permissions.Action.values()) System.out.println(c);
public static Permissions.Action 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 getValue()
public String toString()
toString in class Enum<Permissions.Action>public static Permissions.Action getEnum(String value)
Copyright © 2009–2021 Opencast Project. All rights reserved.