Package | Description |
---|---|
com.oracle.bmc.devops.model |
Modifier and Type | Method and Description |
---|---|
static ApprovalRule.Builder |
ApprovalRule.builder()
Create a new builder.
|
ApprovalRule.Builder |
ApprovalRule.Builder.copy(ApprovalRule model) |
ApprovalRule.Builder |
ApprovalRule.Builder.destinationBranch(String destinationBranch)
Branch name where pull requests targeting the branch must satisfy the approval rule.
|
ApprovalRule.Builder |
ApprovalRule.Builder.minApprovalsCount(Integer minApprovalsCount)
Minimum number of approvals which must be provided by the reviewers specified in the list
before the rule can be satisfied
|
ApprovalRule.Builder |
ApprovalRule.Builder.name(String name)
Name which is used to uniquely identify an approval rule.
|
ApprovalRule.Builder |
ApprovalRule.Builder.reviewers(List<PrincipalDetails> reviewers)
List of users who must provide approvals up to the minApprovalsCount specified in the
rule.
|
ApprovalRule.Builder |
ApprovalRule.toBuilder() |
Copyright © 2016–2024. All rights reserved.