hudson.model
Class BuildStepListener

java.lang.Object
  extended by hudson.model.BuildStepListener
All Implemented Interfaces:
ExtensionPoint

public abstract class BuildStepListener
extends Object
implements ExtensionPoint

Receives events that happen as a build executes BuildSteps.

Since:
1.502
Author:
Nicolas De Loof

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BuildStepListener()
           
 
Method Summary
static ExtensionList<BuildStepListener> all()
          Returns all the registered BuildStepListeners.
abstract  void finished(AbstractBuild build, BuildStep bs, BuildListener listener, boolean canContinue)
          Called when a buildStep has completed.
abstract  void started(AbstractBuild build, BuildStep bs, BuildListener listener)
          Called when a buildStep is performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildStepListener

public BuildStepListener()
Method Detail

started

public abstract void started(AbstractBuild build,
                             BuildStep bs,
                             BuildListener listener)
Called when a buildStep is performed.


finished

public abstract void finished(AbstractBuild build,
                              BuildStep bs,
                              BuildListener listener,
                              boolean canContinue)
Called when a buildStep has completed.


all

public static ExtensionList<BuildStepListener> all()
Returns all the registered BuildStepListeners.



Copyright © 2004-2013. All Rights Reserved.