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

Inherited by org.sleuthkit.autopsy.discovery.search.ResultDomain, and org.sleuthkit.autopsy.discovery.search.ResultFile.

Public Member Functions

void addTagName (String tagName)
 
abstract Content getDataSource () throws TskCoreException
 
abstract long getDataSourceObjectId ()
 
SearchData.Frequency getFrequency ()
 
abstract TskData.FileKnown getKnown ()
 
List< String > getTagNames ()
 
abstract SearchData.Type getType ()
 
final void setFrequency (SearchData.Frequency frequency)
 

Private Attributes

SearchData.Frequency frequency
 
final List< String > tagNames = new ArrayList<>()
 

Detailed Description

Interface implemented by all types of results.

Definition at line 31 of file Result.java.

Member Function Documentation

void org.sleuthkit.autopsy.discovery.search.Result.addTagName ( String  tagName)

Add a tag name that matched this file.

Parameters
tagName

Definition at line 89 of file Result.java.

abstract Content org.sleuthkit.autopsy.discovery.search.Result.getDataSource ( ) throws TskCoreException
abstract

Get the data source associated with this result.

Returns
The data source this result came from.
Exceptions
TskCoreException
abstract long org.sleuthkit.autopsy.discovery.search.Result.getDataSourceObjectId ( )
abstract

Get the Object ID for the data source the result is in.

Returns
The Object ID of the data source the result is in.

Referenced by org.sleuthkit.autopsy.discovery.search.ResultsSorter.getDataSourceComparator().

SearchData.Frequency org.sleuthkit.autopsy.discovery.search.Result.getFrequency ( )
abstract TskData.FileKnown org.sleuthkit.autopsy.discovery.search.Result.getKnown ( )
abstract

Get the known status of the result.

Returns
The Known status of the result.
List<String> org.sleuthkit.autopsy.discovery.search.Result.getTagNames ( )

Get the tag names for this file

Returns
the tag names that matched this file.

Definition at line 103 of file Result.java.

abstract SearchData.Type org.sleuthkit.autopsy.discovery.search.Result.getType ( )
abstract
final void org.sleuthkit.autopsy.discovery.search.Result.setFrequency ( SearchData.Frequency  frequency)

Set the frequency of this result in the central repository.

Parameters
frequencyThe frequency of the result as an enum.

Definition at line 64 of file Result.java.

References org.sleuthkit.autopsy.discovery.search.Result.frequency.

Referenced by org.sleuthkit.autopsy.discovery.search.DiscoveryAttributes.FrequencyCallback.process().

Member Data Documentation

SearchData.Frequency org.sleuthkit.autopsy.discovery.search.Result.frequency
private
final List<String> org.sleuthkit.autopsy.discovery.search.Result.tagNames = new ArrayList<>()
private

Definition at line 34 of file Result.java.


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

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