Package org.marvelution.jji.listener
Class BuildListener
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run>
-
- org.marvelution.jji.listener.BuildListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class BuildListener extends RunListener<Run>
RunListener
implementation that will notify all registered Jira instances that a build completed or was deleted.- Since:
- 3.5.0
- Author:
- Mark Rekveld
-
-
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 BuildListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCompleted(Run run, TaskListener listener)
void
onDeleted(Run run)
void
setClient(SitesClient client)
-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onFinalized, onInitialize, onStarted, register, setUpEnvironment, unregister
-
-
-
-
Method Detail
-
setClient
@Inject public void setClient(SitesClient client)
-
onCompleted
public void onCompleted(Run run, @Nonnull TaskListener listener)
- Overrides:
onCompleted
in classRunListener<Run>
-
onDeleted
public void onDeleted(Run run)
- Overrides:
onDeleted
in classRunListener<Run>
-
-