Package io.codemodder.codetf
Interface CodeTFReportGenerator
-
public interface CodeTFReportGeneratorThis type is responsible for generating aCodeTFReportbased on the domain objects representing our inputs and outputs.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CodeTFReportGeneratorcreateDefault()CodeTFReportcreateReport(Path repositoryRoot, String commandLine, List<Path> sarifs, List<CodeTFResult> results, long millisElapsed)Creates the report.
-
-
-
Method Detail
-
createReport
CodeTFReport createReport(Path repositoryRoot, String commandLine, List<Path> sarifs, List<CodeTFResult> results, long millisElapsed) throws IOException
Creates the report.- Parameters:
repositoryRoot- the root directory of the repositorycommandLine- the command line that was used to run the toolsarifs- the sarif files that were used as inputresults- the results of the scan/fixmillisElapsed- how long the scan/fix took- Returns:
- the
CodeTFReportrepresenting all the stuff above - Throws:
IOException
-
createDefault
static CodeTFReportGenerator createDefault()
-
-