Class RepositoryMiner.NullMiner

java.lang.Object
io.jenkins.plugins.forensics.miner.RepositoryMiner
io.jenkins.plugins.forensics.miner.RepositoryMiner.NullMiner
All Implemented Interfaces:
Serializable
Enclosing class:
RepositoryMiner

public static class RepositoryMiner.NullMiner extends RepositoryMiner
A repository miner that does nothing.
See Also:
  • Constructor Details

    • NullMiner

      public NullMiner()
  • Method Details

    • mine

      public RepositoryStatistics mine(RepositoryStatistics previousStatistics, edu.hm.hafner.util.FilteredLog logger)
      Description copied from class: RepositoryMiner
      Obtains commit statistics for a source code repository.
      Specified by:
      mine in class RepositoryMiner
      Parameters:
      previousStatistics - the repository statistics of the previous build - if there is no such build then an empty instance will be provided
      logger - the logger to use
      Returns:
      the aggregated statistics containing the commit statistics for the current build and the previous builds