public enum PermissionType extends Enum<PermissionType>
Enum Constant and Description |
---|
ADMIN |
BUILD |
CLONE |
CREATE |
CREATE_REPOSITORY |
DELETE |
EDIT |
VIEW |
VIEW_CONFIGURATION
Allows viewing configuration of plans and deployments.
|
Modifier and Type | Method and Description |
---|---|
static PermissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionType VIEW
public static final PermissionType EDIT
public static final PermissionType CREATE
public static final PermissionType CREATE_REPOSITORY
public static final PermissionType DELETE
public static final PermissionType BUILD
public static final PermissionType CLONE
public static final PermissionType ADMIN
public static final PermissionType VIEW_CONFIGURATION
public static PermissionType[] values()
for (PermissionType c : PermissionType.values()) System.out.println(c);
public static PermissionType 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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.