19 package org.sleuthkit.autopsy.modules.dataSourceIntegrity;
26 final class DataSourceIntegrityIngestSettings
implements IngestModuleIngestJobSettings {
28 private static final long serialVersionUID = 1L;
30 static final boolean DEFAULT_COMPUTE_HASHES =
true;
31 static final boolean DEFAULT_VERIFY_HASHES =
true;
33 private boolean computeHashes;
34 private boolean verifyHashes;
39 DataSourceIntegrityIngestSettings() {
40 this.computeHashes = DEFAULT_COMPUTE_HASHES;
41 this.verifyHashes = DEFAULT_VERIFY_HASHES;
50 DataSourceIntegrityIngestSettings(
boolean computeHashes,
boolean verifyHashes) {
51 this.computeHashes = computeHashes;
52 this.verifyHashes = verifyHashes;
56 public long getVersionNumber() {
57 return serialVersionUID;
65 boolean shouldComputeHashes() {
74 void setComputeHashes(
boolean computeHashes) {
75 this.computeHashes = computeHashes;
84 boolean shouldVerifyHashes() {
93 void setVerifyHashes(
boolean verifyHashes) {
94 this.verifyHashes = verifyHashes;