Package io.jenkins.plugins.checks.api
Class ChecksPublisher.NullChecksPublisher
java.lang.Object
io.jenkins.plugins.checks.api.ChecksPublisher
io.jenkins.plugins.checks.api.ChecksPublisher.NullChecksPublisher
- Enclosing class:
- ChecksPublisher
A null publisher. This publisher will be returned by
ChecksPublisherFactory.fromJob(Job, TaskListener)
only when there is no suitable publisher for the given run.-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.plugins.checks.api.ChecksPublisher
ChecksPublisher.NullChecksPublisher -
Constructor Summary
ConstructorsConstructorDescriptionNullChecksPublisher(io.jenkins.plugins.util.PluginLogger logger) Construct a null checks publisher withPluginLogger. -
Method Summary
Modifier and TypeMethodDescriptionvoidpublish(ChecksDetails details) Publishes checks to platforms.
-
Constructor Details
-
NullChecksPublisher
public NullChecksPublisher(io.jenkins.plugins.util.PluginLogger logger) Construct a null checks publisher withPluginLogger.- Parameters:
logger- the plugin logger
-
-
Method Details
-
publish
Description copied from class:ChecksPublisherPublishes checks to platforms.- Specified by:
publishin classChecksPublisher- Parameters:
details- the details of a check
-