Package io.jenkins.plugins.catlight
Class CatlightNotifier
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run<?,?>>
-
- io.jenkins.plugins.catlight.CatlightNotifier
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class CatlightNotifier extends RunListener<Run<?,?>>
Sends notification to CatLight service when jobs start and complete
-
-
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 CatlightNotifier()
CatlightNotifier(CatlightServiceClient serviceClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCompleted(Run<?,?> run, TaskListener listener)
void
onStarted(Run<?,?> run, TaskListener listener)
-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, onInitialize, register, setUpEnvironment, unregister
-
-
-
-
Constructor Detail
-
CatlightNotifier
public CatlightNotifier()
-
CatlightNotifier
public CatlightNotifier(CatlightServiceClient serviceClient)
-
-
Method Detail
-
onCompleted
public void onCompleted(Run<?,?> run, TaskListener listener)
- Overrides:
onCompleted
in classRunListener<Run<?,?>>
-
onStarted
public void onStarted(Run<?,?> run, TaskListener listener)
- Overrides:
onStarted
in classRunListener<Run<?,?>>
-
-