public enum PermissionRole extends Enum<PermissionRole>
| Enum Constant and Description |
|---|
ADMIN |
CONTACT |
MEMBER |
SYSTEM_AS_USER |
SYSTEM_READ |
SYSTEM_WRITE |
VIEWER |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
asStringList() |
static PermissionRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionRole ADMIN
public static final PermissionRole MEMBER
public static final PermissionRole VIEWER
public static final PermissionRole CONTACT
public static final PermissionRole SYSTEM_READ
public static final PermissionRole SYSTEM_WRITE
public static final PermissionRole SYSTEM_AS_USER
public static PermissionRole[] values()
for (PermissionRole c : PermissionRole.values()) System.out.println(c);
public static PermissionRole 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 LeanIX GmbH. All rights reserved.