19package org.sleuthkit.autopsy.keywordsearch;
21import java.util.ArrayList;
22import java.util.Arrays;
23import java.util.HashSet;
25import org.openide.util.NbBundle;
26import org.openide.util.lookup.ServiceProvider;
27import org.sleuthkit.autopsy.coreutils.Version;
28import org.sleuthkit.autopsy.ingest.AnalysisResultIngestModule;
29import org.sleuthkit.autopsy.ingest.DataArtifactIngestModule;
30import org.sleuthkit.autopsy.ingest.FileIngestModule;
31import org.sleuthkit.autopsy.ingest.IngestModuleFactory;
32import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettings;
33import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettingsPanel;
34import org.sleuthkit.autopsy.ingest.IngestModuleGlobalSettingsPanel;
43 private static final HashSet<String>
defaultDisabledKeywordListNames =
new HashSet<>(Arrays.asList(
"Phone Numbers",
"IP Addresses",
"URLs",
"Credit Card Numbers"));
48 return getModuleName();
51 static String getModuleName() {
67 XmlKeywordSearchList listManager = XmlKeywordSearchList.getCurrent();
68 List<String> enabledKeywordLists =
new ArrayList<>();
69 List<KeywordList> keywordLists = listManager.getListsL();
72 enabledKeywordLists.add(keywordList.getName());
87 throw new IllegalArgumentException(NbBundle.getMessage(
this.getClass(),
88 "KeywordSearchModuleFactory.getIngestJobSettingsPanel.exception.msg"));
106 KeywordSearchGlobalSettingsPanel globalSettingsPanel =
new KeywordSearchGlobalSettingsPanel();
107 globalSettingsPanel.load();
108 return globalSettingsPanel;
120 throw new IllegalArgumentException(NbBundle.getMessage(
this.getClass(),
121 "KeywordSearchModuleFactory.createFileIngestModule.exception.msg"));
134 throw new IllegalArgumentException(NbBundle.getMessage(
this.getClass(),
135 "KeywordSearchModuleFactory.createFileIngestModule.exception.msg"));
149 throw new IllegalArgumentException(NbBundle.getMessage(
this.getClass(),
150 "KeywordSearchModuleFactory.createFileIngestModule.exception.msg"));
static String getVersion()
AnalysisResultIngestModule createAnalysisResultIngestModule(IngestModuleIngestJobSettings settings)
boolean hasIngestJobSettingsPanel()
IngestModuleIngestJobSettingsPanel getIngestJobSettingsPanel(IngestModuleIngestJobSettings settings)
boolean hasGlobalSettingsPanel()
IngestModuleIngestJobSettings getDefaultIngestJobSettings()
static final HashSet< String > defaultDisabledKeywordListNames
boolean isFileIngestModuleFactory()
boolean isAnalysisResultIngestModuleFactory()
IngestModuleGlobalSettingsPanel getGlobalSettingsPanel()
DataArtifactIngestModule createDataArtifactIngestModule(IngestModuleIngestJobSettings settings)
FileIngestModule createFileIngestModule(IngestModuleIngestJobSettings settings)
String getModuleDisplayName()
String getModuleDescription()
boolean isDataArtifactIngestModuleFactory()
String getModuleVersionNumber()
KeywordSearchJobSettingsPanel jobSettingsPanel