19 package org.sleuthkit.autopsy.report.infrastructure;
24 import java.io.Serializable;
30 final class ReportModuleConfig
implements Serializable {
32 private static final long serialVersionUID = 1L;
33 private final String moduleName;
34 private transient ReportModuleSettings settings;
35 private boolean enabled;
43 ReportModuleConfig(ReportModule module,
boolean enabled) {
44 this.moduleName = module.getClass().getCanonicalName();
45 this.enabled = enabled;
46 this.settings =
new NoReportModuleSettings();
56 ReportModuleConfig(ReportModule module,
boolean enabled, ReportModuleSettings settings) {
57 this.moduleName = module.getClass().getCanonicalName();
58 this.enabled = enabled;
59 this.settings = settings;
67 String getModuleClassName() {
76 void setEnabled(
boolean enabled) {
77 this.enabled = enabled;
94 ReportModuleSettings getModuleSettings() {
103 void setModuleSettings(ReportModuleSettings settings) {
104 this.settings = settings;