hudson.plugins.jswidgets
Class JsRunListener

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
      extended by hudson.plugins.jswidgets.JsRunListener
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public final class JsRunListener
extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild>

This listener adds a JsBuildAction to every new build.

Author:
mfriedenhagen

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
JsRunListener()
          Extension needs parameterless constructor.
 
Method Summary
 void onFinalized(hudson.model.AbstractBuild r)
           Adds JsBuildAction to the build.
 
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onCompleted, onDeleted, onStarted, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsRunListener

public JsRunListener()
Extension needs parameterless constructor.

Method Detail

onFinalized

public void onFinalized(hudson.model.AbstractBuild r)
Adds JsBuildAction to the build. Do this in onFinalized, so the XML-data of the build is not affected.

Overrides:
onFinalized in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>


Copyright © 2010. All Rights Reserved.