Uses of Class
org.gitlab4j.api.models.ProtectedBranch
-
Packages that use ProtectedBranch Package Description org.gitlab4j.api org.gitlab4j.api.models -
-
Uses of ProtectedBranch in org.gitlab4j.api
Methods in org.gitlab4j.api that return ProtectedBranch Modifier and Type Method Description ProtectedBranch
ProtectedBranchesApi. protectBranch(Integer projectIdOrPath, String branchName)
Protects a single repository branch or several project repository branches using a wildcard protected branch.ProtectedBranch
ProtectedBranchesApi. protectBranch(Integer projectIdOrPath, String branchName, AccessLevel pushAccessLevel, AccessLevel mergeAccessLevel)
Protects a single repository branch or several project repository branches using a wildcard protected branch.Methods in org.gitlab4j.api that return types with arguments of type ProtectedBranch Modifier and Type Method Description List<ProtectedBranch>
ProtectedBranchesApi. getProtectedBranches(Object projectIdOrPath)
Gets a list of protected branches from a project.Pager<ProtectedBranch>
ProtectedBranchesApi. getProtectedBranches(Object projectIdOrPath, int itemsPerPage)
Gets a Pager of protected branches from a project.Stream<ProtectedBranch>
ProtectedBranchesApi. getProtectedBranchesStream(Object projectIdOrPath)
Gets a Stream of protected branches from a project. -
Uses of ProtectedBranch in org.gitlab4j.api.models
Methods in org.gitlab4j.api.models that return ProtectedBranch Modifier and Type Method Description ProtectedBranch
ProtectedBranch. withMergeAccessLevels(List<BranchAccessLevel> mergeAccessLevels)
ProtectedBranch
ProtectedBranch. withName(String name)
ProtectedBranch
ProtectedBranch. withPushAccessLevels(List<BranchAccessLevel> pushAccessLevels)
Methods in org.gitlab4j.api.models with parameters of type ProtectedBranch Modifier and Type Method Description static boolean
ProtectedBranch. isValid(ProtectedBranch branch)
-