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 |
static int |
calculateRetryCount(hudson.model.Run<?,?> r)
|
boolean |
canSchedule(hudson.model.Run build,
NaginatorPublisher naginator)
Deprecated. use NaginatorScheduleAction.shouldSchedule(Run, TaskListener, int)
to control scheduling. |
void |
onCompleted(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
|
boolean |
scheduleBuild(hudson.model.AbstractBuild<?,?> build,
int n)
Deprecated. use NaginatorScheduleAction to make a build rescheduled. |
boolean |
scheduleMatrixBuild(hudson.model.AbstractBuild<?,?> build,
List<hudson.matrix.Combination> combinations,
int n)
Deprecated. use NaginatorScheduleAction to make a build rescheduled. |
| 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,
@Nonnull
hudson.model.TaskListener listener)
- Overrides:
onCompleted in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
canSchedule
@Deprecated
public boolean canSchedule(hudson.model.Run build,
NaginatorPublisher naginator)
- Deprecated. use
NaginatorScheduleAction.shouldSchedule(Run, TaskListener, int)
to control scheduling.
calculateRetryCount
public static int calculateRetryCount(@Nonnull
hudson.model.Run<?,?> r)
scheduleMatrixBuild
@Deprecated
public boolean scheduleMatrixBuild(hudson.model.AbstractBuild<?,?> build,
List<hudson.matrix.Combination> combinations,
int n)
- Deprecated. use
NaginatorScheduleAction to make a build rescheduled.
scheduleBuild
@Deprecated
public boolean scheduleBuild(hudson.model.AbstractBuild<?,?> build,
int n)
- Deprecated. use
NaginatorScheduleAction to make a build rescheduled.
- Wrapper method for mocking purposes.
Copyright © 2004-2015. All Rights Reserved.