19 package org.sleuthkit.autopsy.report.modules.portablecase;
22 import java.util.ArrayList;
23 import java.util.List;
33 private final List<TagName>
tagNames =
new ArrayList<>();
34 private final List<String>
setNames =
new ArrayList<>();
48 CD(
"Split into 700 MB chunks (CD)",
"700m"),
49 ONE_GB(
"Split into 1 GB chunks",
"1000m"),
50 DVD(
"Split into 4.5 GB chunks (DVD)",
"4500m");
61 private ChunkSize(String displayName, String sevenZipParam) {
62 this.displayName = displayName;
63 this.sevenZipParam = sevenZipParam;
81 this.compress =
false;
83 this.allTagsSelected =
true;
84 this.allSetsSelected =
true;
88 boolean compress, ChunkSize chunkSize,
boolean allTagsSelected,
boolean allSetsSelected) {
89 this.setNames.addAll(setNames);
90 this.tagNames.addAll(tagNames);
103 this.setNames.clear();
104 this.setNames.addAll(setNames);
108 this.tagNames.clear();
109 this.tagNames.addAll(tagNames);
118 return ((allTagsSelected || allSetsSelected || (!tagNames.isEmpty()) || (!setNames.isEmpty())));
void setAllTagsSelected(boolean allTagsSelected)
List< TagName > getSelectedTagNames()
final List< String > setNames
void setAllSetsSelected(boolean allSetsSelected)
void updateTagNames(List< TagName > tagNames)
ChunkSize(String displayName, String sevenZipParam)
void updateSetNames(List< String > setNames)
List< String > getSelectedSetNames()
final List< TagName > tagNames
PortableCaseReportModuleSettings()
boolean areAllTagsSelected()
final String sevenZipParam
String getSevenZipParam()
boolean areAllSetsSelected()
static final long serialVersionUID
void updateCompression(boolean compress, ChunkSize chunkSize)