-
Methods in org.gitlab4j.api that return ProtectedBranch
Modifier and Type |
Method |
Description |
ProtectedBranch |
ProtectedBranchesApi.getProtectedBranch(Object projectIdOrPath,
String branchName) |
Get a single protected branch or wildcard protected branch.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Object projectIdOrPath,
String branchName) |
Protects a single repository branch or several project repository branches
using a wildcard protected branch.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Object projectIdOrPath,
String branchName,
Integer allowedToPushUserId,
Integer allowedToMergeUserId,
Integer allowedToUnprotectUserId,
Boolean codeOwnerApprovalRequired) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Object projectIdOrPath,
String branchName,
AccessLevel pushAccessLevel,
AccessLevel mergeAccessLevel) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Object projectIdOrPath,
String branchName,
AccessLevel pushAccessLevel,
AccessLevel mergeAccessLevel,
AccessLevel unprotectAccessLevel,
Boolean codeOwnerApprovalRequired) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Object projectIdOrPath,
String branchName,
AllowedTo allowedToPush,
AllowedTo allowedToMerge,
AllowedTo allowedToUnprotect,
Boolean codeOwnerApprovalRequired) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
-