com.sonyericsson.hudson.plugins.metadata.contributors
Class BuildContributorsController

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
      extended by com.sonyericsson.hudson.plugins.metadata.contributors.BuildContributorsController
All Implemented Interfaces:
hudson.ExtensionPoint

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

The controller for BuildMetadataContributors.

Author:
Robert Sandell <robert.sandell@sonyericsson.com>

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
BuildContributorsController()
           
 
Method Summary
 void onCompleted(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
           
 void onStarted(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
          Adds all the job metadata as build metadata.
 
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onDeleted, onFinalized, register, setUpEnvironment, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildContributorsController

public BuildContributorsController()
Method Detail

onCompleted

public void onCompleted(hudson.model.AbstractBuild build,
                        hudson.model.TaskListener listener)
Overrides:
onCompleted in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>

onStarted

public void onStarted(hudson.model.AbstractBuild build,
                      hudson.model.TaskListener listener)
Adds all the job metadata as build metadata.

Overrides:
onStarted in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
Parameters:
build - the build to work with.
listener - the listener for this build. This can be used to produce log messages, for example, which becomes a part of the "console output" of this build.


Copyright © 2004-2013. All Rights Reserved.