Package org.kohsuke.github
Class GHPullRequest.AutoMerge
- java.lang.Object
-
- org.kohsuke.github.GHPullRequest.AutoMerge
-
- Enclosing class:
- GHPullRequest
public static class GHPullRequest.AutoMerge extends Object
The status of auto merging a GHPullRequest.
-
-
Constructor Summary
Constructors Constructor Description AutoMerge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommitMessage()the message of the commit, if e.g.StringgetCommitTitle()the title of the commit, if e.g.GHUsergetEnabledBy()The user who enabled the auto merge of the pull request.GHPullRequest.MergeMethodgetMergeMethod()The merge method of the auto merge.
-
-
-
Method Detail
-
getEnabledBy
public GHUser getEnabledBy()
The user who enabled the auto merge of the pull request.- Returns:
- the GHUser
-
getMergeMethod
public GHPullRequest.MergeMethod getMergeMethod()
The merge method of the auto merge.- Returns:
- the GHPullRequest.MergeMethod
-
getCommitTitle
public String getCommitTitle()
the title of the commit, if e.g. GHPullRequest.MergeMethod.SQUASH is used for the auto merge.- Returns:
- the title of the commit
-
getCommitMessage
public String getCommitMessage()
the message of the commit, if e.g. GHPullRequest.MergeMethod.SQUASH is used for the auto merge.- Returns:
- the message of the commit
-
-