Autopsy 4.22.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
IngestModuleTemplate.java
Go to the documentation of this file.
1/*
2 * Autopsy Forensic Browser
3 *
4 * Copyright 2014-2021 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 */
19package org.sleuthkit.autopsy.ingest;
20
25public final class IngestModuleTemplate {
26
29 private boolean enabled = true;
30
35
39
40 public String getModuleName() {
41 return moduleFactory.getModuleDisplayName();
42 }
43
44 public String getModuleDescription() {
45 return moduleFactory.getModuleDescription();
46 }
47
51
53 this.settings = settings;
54 }
55
56 public boolean hasModuleSettingsPanel() {
57 return moduleFactory.hasIngestJobSettingsPanel();
58 }
59
61 return moduleFactory.getIngestJobSettingsPanel(settings);
62 }
63
64 public boolean hasGlobalSettingsPanel() {
65 return moduleFactory.hasGlobalSettingsPanel();
66 }
67
69 return moduleFactory.getGlobalSettingsPanel();
70 }
71
73 return moduleFactory.isDataSourceIngestModuleFactory();
74 }
75
77 return moduleFactory.createDataSourceIngestModule(settings);
78 }
79
80 public boolean isFileIngestModuleTemplate() {
81 return moduleFactory.isFileIngestModuleFactory();
82 }
83
85 return moduleFactory.createFileIngestModule(settings);
86 }
87
89 return moduleFactory.isDataArtifactIngestModuleFactory();
90 }
91
93 return moduleFactory.createDataArtifactIngestModule(settings);
94 }
95
97 return moduleFactory.isAnalysisResultIngestModuleFactory();
98 }
99
101 return moduleFactory.createAnalysisResultIngestModule(settings);
102 }
103
104 public void setEnabled(boolean enabled) {
105 this.enabled = enabled;
106 }
107
108 public boolean isEnabled() {
109 return enabled;
110 }
111
112}
IngestModuleTemplate(IngestModuleFactory moduleFactory, IngestModuleIngestJobSettings settings)
IngestModuleGlobalSettingsPanel getGlobalSettingsPanel()
void setModuleSettings(IngestModuleIngestJobSettings settings)
IngestModuleIngestJobSettingsPanel getModuleSettingsPanel()

Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.