|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jenkinsci.plugins.ghprb.jobdsl.GhprbPullRequestMergeContext
public class GhprbPullRequestMergeContext
Constructor Summary | |
---|---|
GhprbPullRequestMergeContext()
|
Method Summary | |
---|---|
void |
deleteOnMerge()
Deletes the branch after a successful merge. |
void |
deleteOnMerge(boolean deleteOnMerge)
Deletes the branch after a successful merge. |
void |
disallowOwnCode()
Disallows a user to merge their own code. |
void |
disallowOwnCode(boolean disallowOwnCode)
Disallows a user to merge their own code. |
void |
failOnNonMerge()
Fails the build if the pull request can't be merged. |
void |
failOnNonMerge(boolean failOnNonMerge)
Fails the build if the pull request can't be merged. |
void |
mergeComment(String mergeComment)
Sets a comment that should show up when the merge command is sent to GitHub. |
void |
onlyAdminsMerge()
Allows only admin users to trigger a pull request merge. |
void |
onlyAdminsMerge(boolean onlyAdminsMerge)
Allows only admin users to trigger a pull request merge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GhprbPullRequestMergeContext()
Method Detail |
---|
public void mergeComment(String mergeComment)
public void onlyAdminsMerge(boolean onlyAdminsMerge)
false
.
public void onlyAdminsMerge()
false
.
public void disallowOwnCode(boolean disallowOwnCode)
false
.
public void disallowOwnCode()
false
.
public void failOnNonMerge(boolean failOnNonMerge)
false
.
public void failOnNonMerge()
false
.
public void deleteOnMerge(boolean deleteOnMerge)
false
.
public void deleteOnMerge()
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |