Package io.jenkins.plugins.checks.status
Class BuildStatusChecksPublisher.JobCompletedListener
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run<?,?>>
-
- io.jenkins.plugins.checks.status.BuildStatusChecksPublisher.JobCompletedListener
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- BuildStatusChecksPublisher
@Extension public static class BuildStatusChecksPublisher.JobCompletedListener extends RunListener<Run<?,?>>
Listens to the run and publishes checks.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
-
-
Constructor Summary
Constructors Constructor Description JobCompletedListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCompleted(Run run, TaskListener listener)
-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, onInitialize, onStarted, register, setUpEnvironment, unregister
-
-
-
-
Method Detail
-
onCompleted
public void onCompleted(Run run, @CheckForNull TaskListener listener)
When a job completes, completes the check.
- Overrides:
onCompleted
in classRunListener<Run<?,?>>
-
-