Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
GeoFilter.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2020 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 org.sleuthkit.autopsy.geolocation;
20 
21 import java.util.Collections;
22 import java.util.List;
23 import org.sleuthkit.datamodel.BlackboardArtifact;
24 import org.sleuthkit.datamodel.DataSource;
25 
29 public final class GeoFilter {
30 
31  private final boolean showAll;
32  private final boolean showWithoutTimeStamp;
33  private final int mostRecentNumDays;
34  private final List<DataSource> dataSources;
35  private final List<BlackboardArtifact.ARTIFACT_TYPE> artifactTypes;
36 
54  public GeoFilter(boolean showAll, boolean withoutTimeStamp, int mostRecentNumDays, List<DataSource> dataSources, List<BlackboardArtifact.ARTIFACT_TYPE> artifactTypes) {
55  this.showAll = showAll;
56  this.showWithoutTimeStamp = withoutTimeStamp;
57  this.mostRecentNumDays = mostRecentNumDays;
58  this.dataSources = dataSources;
59  this.artifactTypes = artifactTypes;
60  }
61 
67  boolean showAllWaypoints() {
68  return showAll;
69  }
70 
78  boolean showWaypointsWithoutTimeStamp() {
79  return showWithoutTimeStamp;
80  }
81 
88  int getMostRecentNumDays() {
89  return mostRecentNumDays;
90  }
91 
99  List<DataSource> getDataSources() {
100  return Collections.unmodifiableList(dataSources);
101  }
102 
110  List<BlackboardArtifact.ARTIFACT_TYPE> getArtifactTypes() {
111  return Collections.unmodifiableList(artifactTypes);
112  }
113 
114 }
final List< DataSource > dataSources
Definition: GeoFilter.java:34
GeoFilter(boolean showAll, boolean withoutTimeStamp, int mostRecentNumDays, List< DataSource > dataSources, List< BlackboardArtifact.ARTIFACT_TYPE > artifactTypes)
Definition: GeoFilter.java:54
final List< BlackboardArtifact.ARTIFACT_TYPE > artifactTypes
Definition: GeoFilter.java:35

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.