public enum UserPrivileges extends java.lang.Enum<UserPrivileges>
Enum Constant and Description |
---|
ADMIN |
DOWNLOAD |
DROPBOX_INTEGRATION |
READ_PROJECT |
RUN_EXPERIMENT |
WRITE_PROJECT |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
text |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static UserPrivileges |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserPrivileges[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserPrivileges READ_PROJECT
public static final UserPrivileges WRITE_PROJECT
public static final UserPrivileges RUN_EXPERIMENT
public static final UserPrivileges DROPBOX_INTEGRATION
public static final UserPrivileges DOWNLOAD
public static final UserPrivileges ADMIN
public static UserPrivileges[] values()
for (UserPrivileges c : UserPrivileges.values()) System.out.println(c);
public static UserPrivileges valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<UserPrivileges>