Class RepositoryMiner
java.lang.Object
io.jenkins.plugins.forensics.miner.RepositoryMiner
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 RepositoryMiner.NullMiner
Obtains commit statistics for a source code repository. Computation of the commit statistics should be done
 incrementally, if supported by the underlying SCM  (i.e., only commits new in the current build should be
 inspected).
- Author:
 - Ullrich Hafner
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA repository miner that does nothing. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract RepositoryStatisticsmine(RepositoryStatistics previousStatistics, edu.hm.hafner.util.FilteredLog logger) Obtains commit statistics for a source code repository. 
- 
Constructor Details
- 
RepositoryMiner
public RepositoryMiner() 
 - 
 - 
Method Details
- 
mine
public abstract RepositoryStatistics mine(RepositoryStatistics previousStatistics, edu.hm.hafner.util.FilteredLog logger) throws InterruptedException Obtains commit statistics for a source code repository.- 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
 - Throws:
 InterruptedException- if the user canceled the processing
 
 -