Package org.jvnet.hudson.plugins
Class DownstreamBuildViewRunListener
- java.lang.Object
-
- hudson.model.listeners.RunListener<AbstractBuild>
-
- org.jvnet.hudson.plugins.DownstreamBuildViewRunListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public final class DownstreamBuildViewRunListener extends RunListener<AbstractBuild>
This listener adds aDownstreamBuildViewAction
to every new build.- Author:
- Shinod.Mohandas
-
-
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 DownstreamBuildViewRunListener()
Extension
needs parameterless constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onStarted(AbstractBuild r, TaskListener listener)
AddsDownstreamBuildViewAction
to the build.-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onCompleted, onDeleted, onFinalized, onInitialize, register, setUpEnvironment, unregister
-
-
-
-
Constructor Detail
-
DownstreamBuildViewRunListener
public DownstreamBuildViewRunListener()
Extension
needs parameterless constructor.
-
-
Method Detail
-
onStarted
public void onStarted(AbstractBuild r, TaskListener listener)
AddsDownstreamBuildViewAction
to the build. Do this inonCompleted
affected.- Overrides:
onStarted
in classRunListener<AbstractBuild>
-
-