public class GitlabMergeRequestWrapper extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
check(org.gitlab.api.models.GitlabMergeRequest gitlabMergeRequest) |
org.gitlab.api.models.GitlabNote |
createNote(String message,
boolean shouldClose,
boolean shouldMerge) |
String |
getAuthor() |
String |
getDescription() |
Integer |
getId() |
Integer |
getIid() |
String |
getSourceBranch() |
String |
getSourceName() |
String |
getSourceRepository() |
String |
getTargetBranch() |
void |
init(GitlabMergeRequestBuilder builder,
org.gitlab.api.models.GitlabProject project) |
boolean |
isAllowedByTargetBranchRegex(String branchName)
Check whether the branchName can be matched using the target branch
regex.
|
public void init(GitlabMergeRequestBuilder builder, org.gitlab.api.models.GitlabProject project)
public void check(org.gitlab.api.models.GitlabMergeRequest gitlabMergeRequest)
public boolean isAllowedByTargetBranchRegex(String branchName)
branchName - public Integer getId()
public Integer getIid()
public String getAuthor()
public String getDescription()
public String getSourceName()
public String getSourceRepository()
public String getSourceBranch()
public String getTargetBranch()
public org.gitlab.api.models.GitlabNote createNote(String message, boolean shouldClose, boolean shouldMerge)
Copyright © 2004-2015. All Rights Reserved.