net.praqma.jenkins.plugin.reloaded
Class MatrixReloadedListener
java.lang.Object
hudson.model.listeners.RunListener<hudson.model.Run>
net.praqma.jenkins.plugin.reloaded.MatrixReloadedListener
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension
public class MatrixReloadedListener
- extends hudson.model.listeners.RunListener<hudson.model.Run>
The onStarted sets the base build of the run.
The onCompleted registers the Action
s to the side panel of the matrix project.
- Author:
- wolfgang
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.listeners.RunListener |
LISTENERS, targetType |
Method Summary |
void |
onCompleted(hudson.model.Run run,
hudson.model.TaskListener listener)
Add the Matrix Reloaded link to the build context, this will enable matrix reload a previous build from the menu.
This is done for all matrix builds/runs |
void |
onStarted(hudson.model.Run run,
hudson.model.TaskListener listener)
Determine if the run is matrix reloaded or its parent is. |
Methods inherited from class hudson.model.listeners.RunListener |
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onDeleted, onFinalized, register, setUpEnvironment, unregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatrixReloadedListener
public MatrixReloadedListener()
onStarted
public void onStarted(hudson.model.Run run,
hudson.model.TaskListener listener)
- Determine if the run is matrix reloaded or its parent is. Set the base build accordingly.
- Overrides:
onStarted
in class hudson.model.listeners.RunListener<hudson.model.Run>
onCompleted
public void onCompleted(hudson.model.Run run,
hudson.model.TaskListener listener)
- Add the Matrix Reloaded link to the build context, this will enable matrix reload a previous build from the menu.
This is done for all matrix builds/runs
- Overrides:
onCompleted
in class hudson.model.listeners.RunListener<hudson.model.Run>
Copyright © 2004-2014. All Rights Reserved.