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 |
findBlamerFor(Run<?,?> run,
FilePath workspace,
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 findBlamerFor(Run<?,?> run, FilePath workspace, TaskListener listener, FilteredLog logger)
build.run - the current buildworkspace - the workspace of the current buildlistener - a task listenerlogger - a logger to report error messagesBlamer.NullBlamer if the SCM is not supportedCopyright © 2016–2019. All rights reserved.