Class MinerService
java.lang.Object
io.jenkins.plugins.forensics.miner.MinerService
Queries the repository statistics of a build for a subselection of results.
- Author:
- Ullrich Hafner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionqueryStatisticsFor
(String scm, Run<?, ?> build, Set<String> files, edu.hm.hafner.util.FilteredLog logger) Queries the statistics for the selected files of the aggregated repository statistics of the specified build.
-
Constructor Details
-
MinerService
public MinerService()
-
-
Method Details
-
queryStatisticsFor
public RepositoryStatistics queryStatisticsFor(String scm, Run<?, ?> build, Set<String> files, edu.hm.hafner.util.FilteredLog logger) Queries the statistics for the selected files of the aggregated repository statistics of the specified build.- Parameters:
scm
- the SCM to get the results from (can be empty if there is just a single repository used)build
- the buildfiles
- the files to get the statistics forlogger
- the logger- Returns:
- the statistics for the selected files, if available
-