Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
AllowedTo |
AllowedTo.withAccessLevel(AccessLevel accessLevel) |
AllowedTo |
AllowedTo.withGroupId(Integer groupId) |
AllowedTo |
AllowedTo.withUserId(Integer userId) |
Copyright © 2019. All rights reserved.