public abstract class BlamerFactory extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
BlamerFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Optional<Blamer> |
createBlamer(SCM scm,
Run<?,?> run,
FilePath workspace,
TaskListener listener,
FilteredLog logger)
Returns a blamer for the specified
SCM. |
static Blamer |
findBlamer(Run<?,?> run,
Collection<FilePath> scmDirectories,
TaskListener listener,
FilteredLog logger)
Returns a blamer for the specified
build. |
public abstract Optional<Blamer> createBlamer(SCM scm, Run<?,?> run, FilePath workspace, TaskListener listener, FilteredLog logger)
SCM.public static Blamer findBlamer(Run<?,?> run, Collection<FilePath> scmDirectories, TaskListener listener, FilteredLog logger)
build.run - the current buildscmDirectories - paths to search for the SCM repositorylistener - a task listenerlogger - a logger to report error messagesBlamer.NullBlamer if the SCM is not supportedCopyright © 2016–2019. All rights reserved.