public abstract static class SourceMetadataExtractor.FromBuildActions extends Object implements hudson.ExtensionPoint
SourceMetadata from build actions.| Constructor and Description |
|---|
SourceMetadataExtractor.FromBuildActions() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.Multimap<String,SourceMetadata> |
extract(hudson.model.Run<?,?> build,
hudson.scm.ChangeLogSet<?> changelog)
Runs all registered extensions to extract metadata from the given
Run and ChangeLogSet and returns them. |
protected static String |
getLatestAuthor(hudson.scm.ChangeLogSet<?> changeSet) |
protected abstract com.google.common.collect.Multimap<String,SourceMetadata> |
getSourceMetadata(hudson.model.Run<?,?> build,
hudson.scm.ChangeLogSet<?> changelog)
Extracts and returns metadata from a
Run and associated
ChangeLogSet. |
public SourceMetadataExtractor.FromBuildActions()
public static com.google.common.collect.Multimap<String,SourceMetadata> extract(hudson.model.Run<?,?> build, hudson.scm.ChangeLogSet<?> changelog)
Run and ChangeLogSet and returns them.protected static String getLatestAuthor(hudson.scm.ChangeLogSet<?> changeSet)
protected abstract com.google.common.collect.Multimap<String,SourceMetadata> getSourceMetadata(hudson.model.Run<?,?> build, hudson.scm.ChangeLogSet<?> changelog)
Run and associated
ChangeLogSet. After all extensions run, metadata with the same
map key are merged to allow multiple extensions to contribute to a
single repo's metadata.Copyright © 2004-2014. All Rights Reserved.