Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
ReportingConfig.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2019-2020 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.autopsy.report.infrastructure;
20 
21 import java.io.Serializable;
22 import java.util.HashMap;
23 import java.util.Map;
25 
29 final class ReportingConfig implements Serializable {
30 
31  private static final long serialVersionUID = 1L;
32  private String configName;
33  private Map<String, ReportModuleConfig> moduleConfigs = new HashMap<>();
34  private TableReportSettings tableReportSettings;
35  private FileReportSettings fileReportSettings;
36  private GeneralReportSettings generalReportSettings;
37 
43  ReportingConfig(String configName) {
44  this.configName = configName;
45  }
46 
47  void setName(String configName) {
48  this.configName = configName;
49  }
50 
51  String getName() {
52  return this.configName;
53  }
54 
55  void setModuleConfigs(Map<String, ReportModuleConfig> moduleConfigs) {
56  this.moduleConfigs = moduleConfigs;
57  }
58 
59  Map<String, ReportModuleConfig> getModuleConfigs() {
60  return this.moduleConfigs;
61  }
62 
63  void setTableReportSettings(TableReportSettings settings) {
64  this.tableReportSettings = settings;
65  }
66 
67  TableReportSettings getTableReportSettings() {
68  return this.tableReportSettings;
69  }
70 
71  void setFileReportSettings(FileReportSettings settings) {
72  this.fileReportSettings = settings;
73  }
74 
75  FileReportSettings getFileReportSettings() {
76  return this.fileReportSettings;
77  }
78 
79  GeneralReportSettings getGeneralReportSettings() {
80  return this.generalReportSettings;
81  }
82 
83  void setGeneralReportSettings(GeneralReportSettings generalReportSettings) {
84  this.generalReportSettings = generalReportSettings;
85  }
86 }

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.