Class GitHubPRJobDslExtension
java.lang.Object
javaposse.jobdsl.plugin.ContextExtensionPoint
org.jenkinsci.plugins.github.pullrequest.dsl.GitHubPRJobDslExtension
- All Implemented Interfaces:
ExtensionPoint
@Extension(optional=true)
public class GitHubPRJobDslExtension
extends javaposse.jobdsl.plugin.ContextExtensionPoint
- Author:
- lanwen (Merkushev Kirill)
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncommentPullRequestOnGH
(Runnable closure) commitStatusOnGH
(Runnable closure) onPullRequest
(Runnable closure) updateStatusOnGH
(Runnable closure) Methods inherited from class javaposse.jobdsl.plugin.ContextExtensionPoint
all, executeInContext, notifyItemCreated, notifyItemUpdated
-
Constructor Details
-
GitHubPRJobDslExtension
public GitHubPRJobDslExtension()
-
-
Method Details
-
onPullRequest
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.class) public Object onPullRequest(Runnable closure) throws ANTLRException - Throws:
ANTLRException
-
commitStatusOnGH
-
commentPullRequestOnGH
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object commentPullRequestOnGH() -
commentPullRequestOnGH
-
updateStatusOnGH
-