Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
MalwareScanIngestSettings.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2023 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package com.basistech.df.cybertriage.autopsy.malwarescan;
20 
22 
26 final class MalwareScanIngestSettings implements IngestModuleIngestJobSettings {
27 
28  private static final long serialVersionUID = 1L;
29 
30  private static final boolean DEFAULT_QUERY_FILES = true;
31  private static final boolean DEFAULT_UPLOAD_FILES = true;
32 
33  public boolean queryFiles;
34  public boolean uploadFiles;
35 
39  MalwareScanIngestSettings() {
40  this.queryFiles = DEFAULT_QUERY_FILES;
41  this.uploadFiles = DEFAULT_UPLOAD_FILES;
42  }
43 
50  MalwareScanIngestSettings(boolean queryFiles, boolean uploadFiles) {
51  this.queryFiles = queryFiles;
52  this.uploadFiles = uploadFiles;
53  }
54 
55  @Override
56  public long getVersionNumber() {
57  return serialVersionUID;
58  }
59 
65  public boolean shouldQueryFiles() {
66  return queryFiles;
67  }
68 
74  void setqueryFiles(boolean queryFiles) {
75  this.queryFiles = queryFiles;
76  }
77 
78 
84  public boolean shouldUploadFiles() {
85  return uploadFiles;
86  }
87 
93  void setUploadFiles(boolean uploadFiles) {
94  this.uploadFiles = uploadFiles;
95  }
96 }

Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.