Autopsy  4.17.0
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-2018 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.ingest;
20 
25 public final class IngestModuleTemplate {
26 
29  private boolean enabled = true;
30 
32  this.moduleFactory = moduleFactory;
33  this.settings = settings;
34  }
35 
37  return moduleFactory;
38  }
39 
40  public String getModuleName() {
41  return moduleFactory.getModuleDisplayName();
42  }
43 
44  public String getModuleDescription() {
45  return moduleFactory.getModuleDescription();
46  }
47 
49  return settings;
50  }
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 
88  public void setEnabled(boolean enabled) {
89  this.enabled = enabled;
90  }
91 
92  public boolean isEnabled() {
93  return enabled;
94  }
95 
96 }
DataSourceIngestModule createDataSourceIngestModule(IngestModuleIngestJobSettings settings)
IngestModuleGlobalSettingsPanel getGlobalSettingsPanel()
IngestModuleIngestJobSettingsPanel getIngestJobSettingsPanel(IngestModuleIngestJobSettings settings)
IngestModuleTemplate(IngestModuleFactory moduleFactory, IngestModuleIngestJobSettings settings)
FileIngestModule createFileIngestModule(IngestModuleIngestJobSettings settings)
IngestModuleGlobalSettingsPanel getGlobalSettingsPanel()
void setModuleSettings(IngestModuleIngestJobSettings settings)
IngestModuleIngestJobSettingsPanel getModuleSettingsPanel()

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