19 package org.sleuthkit.autopsy.modules.interestingitems;
21 import java.util.ArrayList;
22 import java.util.HashSet;
23 import java.util.List;
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;
77 boolean interestingFilesSetIsEnabled(String filesSetName) {
78 return !(this.disabledFilesSetNames.contains(filesSetName));
86 List<String> getNamesOfEnabledInterestingFilesSets() {
87 return new ArrayList<>(this.enabledFilesSetNames);
95 List<String> getNamesOfDisabledInterestingFilesSets() {
96 return new ArrayList<>(disabledFilesSetNames);