|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Permission> com.sun.faban.harness.security.Permission
public enum Permission
Permission enumeration used for the Faban access controller.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Permission>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |