19 package org.sleuthkit.autopsy.modules.interestingitems;
21 import java.util.ArrayList;
22 import java.util.HashSet;
23 import java.util.List;
30 final class FilesIdentifierIngestJobSettings
implements IngestModuleIngestJobSettings {
32 private static final long serialVersionUID = 1L;
33 private Set<String> enabledFilesSetNames =
new HashSet<>();
34 private Set<String> disabledFilesSetNames =
new HashSet<>();
43 FilesIdentifierIngestJobSettings(List<String> enabledFilesSetNames) {
44 this(enabledFilesSetNames,
new ArrayList<>());
56 FilesIdentifierIngestJobSettings(List<String> enabledFilesSetNames, List<String> disabledFilesSetNames) {
57 this.enabledFilesSetNames =
new HashSet<>(enabledFilesSetNames);
58 this.disabledFilesSetNames =
new HashSet<>(disabledFilesSetNames);
65 public long getVersionNumber() {
66 return FilesIdentifierIngestJobSettings.serialVersionUID;
78 boolean interestingFilesSetIsEnabled(String filesSetName) {
79 return !(this.disabledFilesSetNames.contains(filesSetName));
88 List<String> getNamesOfEnabledInterestingFilesSets() {
89 return new ArrayList<>(this.enabledFilesSetNames);
98 List<String> getNamesOfDisabledInterestingFilesSets() {
99 return new ArrayList<>(disabledFilesSetNames);