diff --git a/Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportGenerator.java b/Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportGenerator.java index 302e9dc2507a461444e5334285c24800d85230b2..04c541364151a3e2ebe11c56c2adcf336edcd2b3 100644 --- a/Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportGenerator.java +++ b/Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportGenerator.java @@ -121,6 +121,10 @@ public ReportGenerator(String configName, ReportProgressIndicator progressIndica this.configName = configName; } + /** + * Generates the reports specified by the reporting configuration passed + * in via the constructor. Does lookup of all existing report modules. + */ public void generateReports() { // load all report modules Map<String, ReportModule> modules = new HashMap<>(); @@ -144,7 +148,10 @@ public void generateReports() { /** * Generates the reports specified by the reporting configuration passed in - * via the constructor. + * via the constructor. + * + * @param modules Map of report module objects to use. This is useful when we want to + * re-use the module instances or limit which reports are generated. */ public void generateReports(Map<String, ReportModule> modules) {