com.chikli.hudson.plugin.naginator
Class NaginatorListener
java.lang.Object
hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
com.chikli.hudson.plugin.naginator.NaginatorListener
- All Implemented Interfaces:
- hudson.ExtensionPoint
public class NaginatorListener
- extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
- Author:
- Nicolas De loof
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.listeners.RunListener |
LISTENERS, targetType |
|
Method Summary |
boolean |
canSchedule(hudson.model.Run build,
NaginatorPublisher naginator)
|
void |
onCompleted(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
|
boolean |
scheduleBuild(hudson.model.AbstractBuild<?,?> build,
int n)
Wrapper method for mocking purposes. |
boolean |
scheduleMatrixBuild(hudson.model.AbstractBuild<?,?> build,
List<hudson.matrix.Combination> combinations,
int n)
|
| Methods inherited from class hudson.model.listeners.RunListener |
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onDeleted, onFinalized, onStarted, register, setUpEnvironment, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaginatorListener
public NaginatorListener()
onCompleted
public void onCompleted(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
- Overrides:
onCompleted in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
canSchedule
public boolean canSchedule(hudson.model.Run build,
NaginatorPublisher naginator)
scheduleMatrixBuild
public boolean scheduleMatrixBuild(hudson.model.AbstractBuild<?,?> build,
List<hudson.matrix.Combination> combinations,
int n)
scheduleBuild
public boolean scheduleBuild(hudson.model.AbstractBuild<?,?> build,
int n)
- Wrapper method for mocking purposes.
Copyright © 2004-2015. All Rights Reserved.