Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method | Description |
---|---|---|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Integer projectId,
String branchName) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Integer projectId,
String branchName,
AccessLevel pushAccessLevel,
AccessLevel mergeAccessLevel) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
Modifier and Type | Method | Description |
---|---|---|
List<ProtectedBranch> |
ProtectedBranchesApi.getProtectedBranches(Integer projectId) |
Gets a list of protected branches from a project.
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
ProtectedBranch.isValid(ProtectedBranch branch) |
Copyright © 2018. All rights reserved.