@Generated public enum PermissionLevel extends Enum<PermissionLevel>
Enum Constant and Description |
---|
CAN_EDIT |
CAN_MANAGE |
CAN_MANAGE_PRODUCTION_VERSIONS |
CAN_MANAGE_STAGING_VERSIONS |
CAN_READ |
Modifier and Type | Method and Description |
---|---|
static PermissionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionLevel CAN_EDIT
public static final PermissionLevel CAN_MANAGE
public static final PermissionLevel CAN_MANAGE_PRODUCTION_VERSIONS
public static final PermissionLevel CAN_MANAGE_STAGING_VERSIONS
public static final PermissionLevel CAN_READ
public static PermissionLevel[] values()
for (PermissionLevel c : PermissionLevel.values()) System.out.println(c);
public static PermissionLevel 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 © 2023. All rights reserved.