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;
89 boolean compress, ChunkSize chunkSize,
boolean allTagsSelected,
boolean allSetsSelected) {
90 this.setNames.addAll(setNames);
91 this.tagNames.addAll(tagNames);
104 this.setNames.clear();
105 this.setNames.addAll(setNames);
109 this.tagNames.clear();
110 this.tagNames.addAll(tagNames);
119 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)