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<>();
49 CD(
"Split into 700 MB chunks (CD)",
"700m"),
50 ONE_GB(
"Split into 1 GB chunks",
"1000m"),
51 DVD(
"Split into 4.5 GB chunks (DVD)",
"4500m");
62 private ChunkSize(String displayName, String sevenZipParam) {
63 this.displayName = displayName;
64 this.sevenZipParam = sevenZipParam;
82 this.compress =
false;
84 this.allTagsSelected =
true;
85 this.allSetsSelected =
true;
86 this.shouldIncludeApplication =
false;
90 boolean compress, ChunkSize chunkSize,
boolean allTagsSelected,
boolean allSetsSelected) {
91 this.setNames.addAll(setNames);
92 this.tagNames.addAll(tagNames);
97 this.shouldIncludeApplication =
false;
106 this.setNames.clear();
107 this.setNames.addAll(setNames);
111 this.tagNames.clear();
112 this.tagNames.addAll(tagNames);
121 return ((allTagsSelected || allSetsSelected || (!tagNames.isEmpty()) || (!setNames.isEmpty())));
boolean includeApplication()
void setAllTagsSelected(boolean allTagsSelected)
List< TagName > getSelectedTagNames()
final List< String > setNames
boolean shouldIncludeApplication
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()
void setIncludeApplication(boolean includeApplication)
final String sevenZipParam
String getSevenZipParam()
boolean areAllSetsSelected()
static final long serialVersionUID
void updateCompression(boolean compress, ChunkSize chunkSize)