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

java.lang.Object
  extended by hudson.model.listeners.SaveableListener
      extended by com.sonyericsson.hudson.plugins.metadata.contributors.JobContributorsController
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class JobContributorsController
extends hudson.model.listeners.SaveableListener

The controller for all JobMetadataContributors. When a project is saved the controller will ask all contributors for whatever metadata they please.

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
protected static int SECOND
          And in one second bind them.
protected static int SINGLE_THREAD
          One thread to rule them all.
 
Constructor Summary
JobContributorsController()
          Default constructor.
 
Method Summary
 void onChange(hudson.model.Saveable o, hudson.XmlFile file)
           
 
Methods inherited from class hudson.model.listeners.SaveableListener
all, fireOnChange, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLE_THREAD

protected static final int SINGLE_THREAD
One thread to rule them all.

See Also:
Constant Field Values

SECOND

protected static final int SECOND
And in one second bind them.

See Also:
Constant Field Values
Constructor Detail

JobContributorsController

public JobContributorsController()
Default constructor.

Method Detail

onChange

public void onChange(hudson.model.Saveable o,
                     hudson.XmlFile file)
Overrides:
onChange in class hudson.model.listeners.SaveableListener


Copyright © 2004-2013. All Rights Reserved.