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

java.lang.Object
  extended by com.sonyericsson.hudson.plugins.metadata.contributors.BuildMetadataContributor
All Implemented Interfaces:
hudson.ExtensionPoint
Direct Known Subclasses:
StandardBuildMetadataContributor

public abstract class BuildMetadataContributor
extends Object
implements hudson.ExtensionPoint

Extension point for plugins to contribute meta data to builds. When a build is done all contributors will be asked to contribute meta data for that build.

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BuildMetadataContributor()
           
 
Method Summary
static hudson.ExtensionList<BuildMetadataContributor> all()
          All the registered build-contributors.
abstract  List<MetadataValue> getMetaDataFor(hudson.model.AbstractBuild build)
          Provides the meta-data that should be inserted into the build.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildMetadataContributor

public BuildMetadataContributor()
Method Detail

getMetaDataFor

public abstract List<MetadataValue> getMetaDataFor(hudson.model.AbstractBuild build)
Provides the meta-data that should be inserted into the build.

Parameters:
build - the build.
Returns:
a list of meta data.

all

public static hudson.ExtensionList<BuildMetadataContributor> all()
All the registered build-contributors.

Returns:
the list.


Copyright © 2004-2013. All Rights Reserved.