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(SCM scm,
Run<?,?> run,
FilePath workspace,
TaskListener listener,
FilteredLog logger)
Returns a blamer for the specified
SCM. |
public abstract Optional<Blamer> createBlamer(SCM scm, Run<?,?> run, FilePath workspace, TaskListener listener, FilteredLog logger)
SCM.public static Blamer findBlamerFor(SCM scm, Run<?,?> run, FilePath workspace, TaskListener listener, FilteredLog logger)
SCM.scm - the SCM to create the blamer forrun - the current buildworkspace - the workspace of the current buildlistener - a task listenerlogger - a logger to report error messagesBlamer.NullBlamer if no factory is supporting the specified SCMCopyright © 2016–2019. All rights reserved.