Class BuildEventListener
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run>
-
- io.jenkins.plugins.maplelabs.Events.BuildEventListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class BuildEventListener extends RunListener<Run>
-
-
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 BuildEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCompleted(Run run, TaskListener listener)
This function will send job status to clientvoid
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
-
-
-
-
Method Detail
-
onStarted
public void onStarted(Run run, TaskListener listener)
- Overrides:
onStarted
in classRunListener<Run>
-
onCompleted
public void onCompleted(Run run, @Nonnull TaskListener listener)
This function will send job status to client- Overrides:
onCompleted
in classRunListener<Run>
-
-