com.chikli.hudson.plugin.naginator
Class NaginatorListener

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
 
Constructor Summary
NaginatorListener()
           
 
Method Summary
 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)
          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
 

Constructor Detail

NaginatorListener

public NaginatorListener()
Method Detail

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.


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.