Uses of Class
org.miaixz.bus.gitlab.models.ProtectedBranch
Packages that use ProtectedBranch
-
Uses of ProtectedBranch in org.miaixz.bus.gitlab
Methods in org.miaixz.bus.gitlab that return ProtectedBranchModifier and TypeMethodDescriptionProtectedBranchesApi.getProtectedBranch(Object projectIdOrPath, String branchName) Get a single protected branch or wildcard protected branch.ProtectedBranchesApi.protectBranch(Object projectIdOrPath, String branchName) Protects a single repository branch or several project repository branches using a wildcard protected branch.ProtectedBranchesApi.protectBranch(Object projectIdOrPath, String branchName, Long allowedToPushUserId, Long allowedToMergeUserId, Long allowedToUnprotectUserId, Boolean codeOwnerApprovalRequired) Protects a single repository branch or several project repository branches using a wildcard protected branch.ProtectedBranchesApi.protectBranch(Object projectIdOrPath, String branchName, Long allowedToPushUserId, Long allowedToMergeUserId, Long allowedToUnprotectUserId, Boolean codeOwnerApprovalRequired, Boolean allowForcedPush) Protects a single repository branch or several project repository branches using a wildcard protected branch.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.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.ProtectedBranchesApi.protectBranch(Object projectIdOrPath, String branchName, AccessLevel pushAccessLevel, AccessLevel mergeAccessLevel, AccessLevel unprotectAccessLevel, Boolean codeOwnerApprovalRequired, Boolean allowForcedPush) Protects a single repository branch or several project repository branches using a wildcard protected branch.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.ProtectedBranchesApi.setCodeOwnerApprovalRequired(Object projectIdOrPath, String branchName, Boolean codeOwnerApprovalRequired) Sets the code_owner_approval_required flag on the specified protected branch.Methods in org.miaixz.bus.gitlab that return types with arguments of type ProtectedBranchModifier and TypeMethodDescriptionProtectedBranchesApi.getOptionalProtectedBranch(Object projectIdOrPath, String branchName) Get an Optional instance with the value for the specific protected branch.ProtectedBranchesApi.getProtectedBranches(Object projectIdOrPath) Gets a list of protected branches from a project.ProtectedBranchesApi.getProtectedBranches(Object projectIdOrPath, int itemsPerPage) Gets a Pager of protected branches from a project.ProtectedBranchesApi.getProtectedBranchesStream(Object projectIdOrPath) Gets a Stream of protected branches from a project. -
Uses of ProtectedBranch in org.miaixz.bus.gitlab.models
Methods in org.miaixz.bus.gitlab.models that return ProtectedBranchModifier and TypeMethodDescriptionProtectedBranch.withAllowForcePush(Boolean allowForcePush) ProtectedBranch.withCodeOwnerApprovalRequired(Boolean codeOwnerApprovalRequired) ProtectedBranch.withMergeAccessLevels(List<BranchAccessLevel> mergeAccessLevels) ProtectedBranch.withPushAccessLevels(List<BranchAccessLevel> pushAccessLevels) Methods in org.miaixz.bus.gitlab.models that return types with arguments of type ProtectedBranchMethods in org.miaixz.bus.gitlab.models with parameters of type ProtectedBranchModifier and TypeMethodDescriptionstatic final booleanProtectedBranch.isValid(ProtectedBranch branch) Method parameters in org.miaixz.bus.gitlab.models with type arguments of type ProtectedBranchModifier and TypeMethodDescriptionvoidApprovalRule.setProtectedBranches(List<ProtectedBranch> protectedBranches)