Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
ApprovalRule |
ProjectApi.createApprovalRule(Object projectIdOrPath,
ApprovalRuleParams params)
Create a project-level approval rule.
|
ApprovalRule |
MergeRequestApi.createApprovalRule(Object projectIdOrPath,
Integer mergeRequestIid,
Integer projectRuleId,
ApprovalRuleParams params)
Create a merge request level approval rule.
|
ApprovalRule |
ProjectApi.updateApprovalRule(Object projectIdOrPath,
Integer approvalRuleId,
ApprovalRuleParams params)
Update the specified the project-level approval rule.
|
ApprovalRule |
MergeRequestApi.updateApprovalRule(Object projectIdOrPath,
Integer mergeRequestIid,
Integer approvalRuleId,
ApprovalRuleParams params)
Update the specified the merge request level approval rule.
|
Modifier and Type | Method and Description |
---|---|
List<ApprovalRule> |
ProjectApi.getApprovalRules(Object projectIdOrPath)
Get a list of the project-level approval rules.
|
Pager<ApprovalRule> |
ProjectApi.getApprovalRules(Object projectIdOrPath,
int itemsPerPage)
Get a Pager of the project-level approval rules.
|
List<ApprovalRule> |
MergeRequestApi.getApprovalRules(Object projectIdOrPath,
Integer mergeRequestIid)
Get a list of the merge request level approval rules.
|
Pager<ApprovalRule> |
MergeRequestApi.getApprovalRules(Object projectIdOrPath,
Integer mergeRequestIid,
int itemsPerPage)
Get a Pager of the merge request level approval rules.
|
Stream<ApprovalRule> |
ProjectApi.getApprovalRulesStream(Object projectIdOrPath)
Get a Stream of the project-level approval rules.
|
Stream<ApprovalRule> |
MergeRequestApi.getApprovalRulesStream(Object projectIdOrPath,
Integer mergeRequestIid)
Get a Stream of the merge request level approval rules.
|
Modifier and Type | Method and Description |
---|---|
ApprovalRule |
ApprovalRule.getSourceRule() |
Modifier and Type | Method and Description |
---|---|
List<ApprovalRule> |
ApprovalState.getRules() |
Modifier and Type | Method and Description |
---|---|
void |
ApprovalRule.setSourceRule(ApprovalRule sourceRule) |
Modifier and Type | Method and Description |
---|---|
void |
ApprovalState.setRules(List<ApprovalRule> rules) |
Copyright © 2019. All rights reserved.