public enum ProjectPermission extends Enum<ProjectPermission>
See https://confluence.atlassian.com/display/BitbucketServer/Using+project+permissions
| Enum Constant and Description |
|---|
PROJECT_ADMIN
Administration level project access.
|
PROJECT_READ
Allows read access to a project.
|
PROJECT_WRITE
Allows write access to a project.
|
| Modifier and Type | Method and Description |
|---|---|
static ProjectPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectPermission PROJECT_READ
Browse, clone/pull and create/browse/comment on pull requests for the project repos.
public static final ProjectPermission PROJECT_WRITE
In addition to all PROJECT_READ permissions, merging pull requests and
pushing to project repos is allowed.
public static final ProjectPermission PROJECT_ADMIN
In addition to all PROJECT_WRITE permissions, new repos may be created.
Moreover, the project settings may be changed.
public static ProjectPermission[] values()
for (ProjectPermission c : ProjectPermission.values()) System.out.println(c);
public static ProjectPermission 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 Atlassian. All rights reserved.