com.sonyericsson.hudson.plugins.metadata.contributors
Class JobMetadataContributor
java.lang.Object
com.sonyericsson.hudson.plugins.metadata.contributors.JobMetadataContributor
- All Implemented Interfaces:
- hudson.ExtensionPoint
- Direct Known Subclasses:
- MavenJobMetadataContributor
public abstract class JobMetadataContributor
- extends Object
- implements hudson.ExtensionPoint
Extension point for plugins to contribute meta data to jobs. When ever a project is saved all contributors will be
asked to provide their meta-data for that project.
- Author:
- Robert Sandell <robert.sandell@sonyericsson.com>
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobMetadataContributor
public JobMetadataContributor()
getMetaDataFor
public abstract List<MetadataValue> getMetaDataFor(hudson.model.AbstractProject job)
- Provides the meta-data that should be inserted into the project.
- Parameters:
job
- the project.
- Returns:
- a list of meta data.
all
public static hudson.ExtensionList<JobMetadataContributor> all()
- All the registered job contributors.
- Returns:
- the list.
Copyright © 2004-2013. All Rights Reserved.