Class GitHubPRAbstractPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- org.jenkinsci.plugins.github.pullrequest.publishers.GitHubPRAbstractPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
- Direct Known Subclasses:
GitHubPRBuildStatusPublisher
,GitHubPRClosePublisher
,GitHubPRCommentPublisher
,GitHubPRLabelAddPublisher
,GitHubPRLabelRemovePublisher
public abstract class GitHubPRAbstractPublisher extends Recorder implements SimpleBuildStep
Common actions for label addition and deletion.- Author:
- Alina Karpovich
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitHubPRAbstractPublisher.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description GitHubPRAbstractPublisher(StatusVerifier statusVerifier, PublisherErrorHandler errorHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublisherErrorHandler
getErrorHandler()
BuildStepMonitor
getRequiredMonitorService()
StatusVerifier
getStatusVerifier()
GitHubPRTrigger.DescriptorImpl
getTriggerDescriptor()
protected void
handlePublisherError(Run<?,?> run)
-
Methods inherited from class hudson.tasks.Recorder
getDescriptor
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, perform, requiresWorkspace
-
-
-
-
Constructor Detail
-
GitHubPRAbstractPublisher
public GitHubPRAbstractPublisher(StatusVerifier statusVerifier, PublisherErrorHandler errorHandler)
-
-
Method Detail
-
getStatusVerifier
public StatusVerifier getStatusVerifier()
-
getErrorHandler
public PublisherErrorHandler getErrorHandler()
-
handlePublisherError
protected void handlePublisherError(Run<?,?> run)
-
getRequiredMonitorService
public final BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getTriggerDescriptor
public final GitHubPRTrigger.DescriptorImpl getTriggerDescriptor()
-
-