public abstract static class SourceMetadataExtractor.FromSCM extends Object implements hudson.ExtensionPoint
SourceMetadata from specific
SCM subclasses.| Constructor and Description |
|---|
SourceMetadataExtractor.FromSCM(Class<?> supportedClass) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.Multimap<String,SourceMetadata> |
extract(hudson.scm.SCM scm)
Runs applicable registered extensions to extract metadata from the given
SCM and returns them. |
protected abstract com.google.common.collect.Multimap<String,SourceMetadata> |
getSourceMetadata(hudson.scm.SCM scm)
Extracts and returns metadata from an instance of
T. |
protected boolean |
isApplicable(Class<?> scmClass) |
public SourceMetadataExtractor.FromSCM(Class<?> supportedClass)
public static com.google.common.collect.Multimap<String,SourceMetadata> extract(hudson.scm.SCM scm)
SCM and returns them.protected boolean isApplicable(Class<?> scmClass)
protected abstract com.google.common.collect.Multimap<String,SourceMetadata> getSourceMetadata(hudson.scm.SCM scm)
T. After all
extensions run, metadata with the same map key are merged to allow
multiple extensions to contribute to a single repo's metadata.scm - SCM instance to extract metadata from; will be assignable to
the supportedClass passed to the FromSCM
constructor.Copyright © 2004-2014. All Rights Reserved.