Class Coordinator
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run<?,?>>
-
- org.jenkinsci.plugins.registry.notification.Coordinator
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class Coordinator extends RunListener<Run<?,?>>
Coordinates and sends back aDockerHubCallbackPayload
to Docker Hub when all builds are finalized.
-
-
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 Coordinator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Coordinator
getInstance()
void
onDeleted(Run<?,?> run)
void
onFinalized(Run<?,?> run)
void
onStarted(Run<?,?> run, TaskListener listener)
void
onTriggered(Job job, PushNotification pushNotification)
-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onCompleted, onInitialize, register, setUpEnvironment, unregister
-
-
-
-
Method Detail
-
onTriggered
public void onTriggered(@NonNull Job job, @NonNull PushNotification pushNotification)
-
onStarted
public void onStarted(@NonNull Run<?,?> run, @NonNull TaskListener listener)
- Overrides:
onStarted
in classRunListener<Run<?,?>>
-
onFinalized
public void onFinalized(@NonNull Run<?,?> run)
- Overrides:
onFinalized
in classRunListener<Run<?,?>>
-
onDeleted
public void onDeleted(@NonNull Run<?,?> run)
- Overrides:
onDeleted
in classRunListener<Run<?,?>>
-
getInstance
@CheckForNull public static Coordinator getInstance()
-
-