| Constructor and Description |
|---|
BlamerFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Optional<Blamer> |
createBlamer(hudson.scm.SCM scm,
hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
edu.hm.hafner.util.FilteredLog logger)
Returns a blamer for the specified
SCM. |
static Blamer |
findBlamer(hudson.model.Run<?,?> run,
Collection<hudson.FilePath> scmDirectories,
hudson.model.TaskListener listener,
edu.hm.hafner.util.FilteredLog logger)
Returns a blamer for the specified
build. |
public abstract Optional<Blamer> createBlamer(hudson.scm.SCM scm, hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.model.TaskListener listener, edu.hm.hafner.util.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 messagesSCMpublic static Blamer findBlamer(hudson.model.Run<?,?> run, Collection<hudson.FilePath> scmDirectories, hudson.model.TaskListener listener, edu.hm.hafner.util.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–2020. All rights reserved.