Package io.jenkins.plugins.checks.github
Class GitHubChecksPublisherFactory
java.lang.Object
io.jenkins.plugins.checks.api.ChecksPublisherFactory
io.jenkins.plugins.checks.github.GitHubChecksPublisherFactory
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class GitHubChecksPublisherFactory
extends io.jenkins.plugins.checks.api.ChecksPublisherFactory
An factory which produces
GitHubChecksPublisher
.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<io.jenkins.plugins.checks.api.ChecksPublisher>
createPublisher
(Job<?, ?> job, TaskListener listener) protected Optional<io.jenkins.plugins.checks.api.ChecksPublisher>
createPublisher
(Run<?, ?> run, TaskListener listener) Methods inherited from class io.jenkins.plugins.checks.api.ChecksPublisherFactory
fromJob, fromRun
-
Constructor Details
-
GitHubChecksPublisherFactory
public GitHubChecksPublisherFactory()Creates a new instance ofGitHubChecksPublisherFactory
.
-
-
Method Details
-
createPublisher
protected Optional<io.jenkins.plugins.checks.api.ChecksPublisher> createPublisher(Run<?, ?> run, TaskListener listener) - Overrides:
createPublisher
in classio.jenkins.plugins.checks.api.ChecksPublisherFactory
-
createPublisher
protected Optional<io.jenkins.plugins.checks.api.ChecksPublisher> createPublisher(Job<?, ?> job, TaskListener listener) - Overrides:
createPublisher
in classio.jenkins.plugins.checks.api.ChecksPublisherFactory
-