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
A repository miner that does nothing.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.plugins.forensics.miner.RepositoryMiner
RepositoryMiner.NullMiner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmine
(RepositoryStatistics previousStatistics, edu.hm.hafner.util.FilteredLog logger) Obtains commit statistics for a source code repository.
-
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 classRepositoryMiner
- Parameters:
previousStatistics
- the repository statistics of the previous build - if there is no such build then an empty instance will be providedlogger
- the logger to use- Returns:
- the aggregated statistics containing the commit statistics for the current build and the previous builds
-