Klasse MinerFactory

java.lang.Object
io.jenkins.plugins.forensics.miner.MinerFactory
Alle implementierten Schnittstellen:
ExtensionPoint

public abstract class MinerFactory extends Object implements ExtensionPoint
Jenkins extension point that allows plugins to create RepositoryMiner instances based on a supported SCM.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • MinerFactory

      public MinerFactory()
  • Methodendetails

    • createMiner

      public abstract Optional<RepositoryMiner> createMiner(SCM scm, Run<?,?> run, FilePath workspace, TaskListener listener, edu.hm.hafner.util.FilteredLog logger)
      Returns a repository miner for the specified SCM.
      Parameter:
      scm - the SCM to create the miner for
      run - the current build
      workspace - the workspace of the current build
      listener - a task listener
      logger - a logger to report error messages
      Gibt zurück:
      a repository miner instance that creates statistics for all available files in the specified SCM