Autopsy  4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter Class Reference

Inherits org.sleuthkit.autopsy.discovery.search.AbstractFilter.

Public Member Functions

 ArtifactTypeFilter (Collection< ARTIFACT_TYPE > types)
 
List< ResultapplyAlternateFilter (List< Result > currentResults, SleuthkitCase caseDb, CentralRepository centralRepoDb, SearchContext context) throws DiscoveryException, SearchCancellationException
 
String getDesc ()
 
Collection< ARTIFACT_TYPE > getTypes ()
 
String getWhereClause ()
 
boolean useAlternateFilter ()
 

Private Member Functions

StringJoiner joinStandardArtifactTypes ()
 

Private Attributes

final Collection< ARTIFACT_TYPE > types
 

Detailed Description

A filter to specify artifact types.

Definition at line 226 of file SearchFiltering.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter.ArtifactTypeFilter ( Collection< ARTIFACT_TYPE >  types)

Construct a new ArtifactTypeFilter.

Parameters
typesThe list of BlackboardArtifact types to include in results from.

Definition at line 236 of file SearchFiltering.java.

References org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter.types.

Member Function Documentation

List<Result> org.sleuthkit.autopsy.discovery.search.AbstractFilter.applyAlternateFilter ( List< Result currentResults,
SleuthkitCase  caseDb,
CentralRepository  centralRepoDb,
SearchContext  context 
) throws DiscoveryException, SearchCancellationException
inherited

Run a secondary filter that does not operate on table.

Parameters
currentResultsThe current list of matching results; empty if no filters have yet been run.
caseDbThe case database
centralRepoDbThe central repo database. Can be null if the filter does not require it.
contextThe SearchContext the search which is applying this filter is being performed from.
Returns
The list of results that match this filter (and any that came before it)
Exceptions
DiscoveryException
SearchCancellationExceptionThrown when the user has cancelled the search.

Definition at line 67 of file AbstractFilter.java.

String org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter.getDesc ( )

Definition at line 279 of file SearchFiltering.java.

Collection<ARTIFACT_TYPE> org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter.getTypes ( )

Get the list of artifact types specified by the filter.

Returns
The list of artifact types specified by the filter.

Definition at line 245 of file SearchFiltering.java.

String org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter.getWhereClause ( )
StringJoiner org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter.joinStandardArtifactTypes ( )
private
boolean org.sleuthkit.autopsy.discovery.search.AbstractFilter.useAlternateFilter ( )
inherited

Indicates whether this filter needs to use the secondary, non-SQL method applyAlternateFilter().

Returns
false by default

Definition at line 45 of file AbstractFilter.java.

Member Data Documentation

final Collection<ARTIFACT_TYPE> org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter.types
private

The documentation for this class was generated from the following file:

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