public enum Perm extends Enum<Perm>
Enum Constant and Description |
---|
ADMIN
Users must have space-administration permissions to rename requirements
|
EDIT |
VIEW
Can view requirements and also create links to them
|
Modifier and Type | Method and Description |
---|---|
static Perm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Perm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Perm VIEW
public static final Perm EDIT
public static final Perm ADMIN
public static Perm[] values()
for (Perm c : Perm.values()) System.out.println(c);
public static Perm 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 nullCopyright © 2020 Play SQL. All rights reserved.