public enum Permission extends Enum<Permission>
Enum Constant and Description |
---|
MANAGE
The manage permission is allowed all manage actions
on the benchmark.
|
RIGMANAGE
The rigmanage acl is listed in the harness configuration file
harness.xml at the elements security/managePrincipal and is only read
at startup.
|
SUBMIT
The submit permission is allowed to submit runs
and delete submitted runs.
|
VIEW
The view permission is allowed to view run results.
|
WRITE
The write permission is allowed to add comments to runs.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Converts string to lowercase.
|
static Permission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission RIGMANAGE
public static final Permission MANAGE
public static final Permission SUBMIT
public static final Permission VIEW
public static final Permission WRITE
public static Permission[] values()
for (Permission c : Permission.values()) System.out.println(c);
public static Permission 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<Permission>