Autopsy  4.0
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.report.ReportGenerator.ArtifactData Class Reference

Inherits Comparable< ArtifactData >.

Public Member Functions

int compareTo (ArtifactData otherArtifactData)
 
BlackboardArtifact getArtifact ()
 
long getArtifactID ()
 
List< BlackboardAttribute > getAttributes ()
 
Content getContent ()
 
long getObjectID ()
 
List< String > getRow ()
 
HashSet< String > getTags ()
 

Private Member Functions

List< String > getOrderedRowDataAsStrings () throws TskCoreException
 

Private Attributes

BlackboardArtifact artifact
 
List< BlackboardAttribute > attributes
 
Content content
 
List< String > rowData = null
 
HashSet< String > tags
 

Detailed Description

Container class that holds data about an Artifact to eliminate duplicate calls to the Sleuthkit database.

Definition at line 1796 of file ReportGenerator.java.

Member Function Documentation

int org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.compareTo ( ArtifactData  otherArtifactData)

Compares ArtifactData objects by the first attribute they have in common in their List<BlackboardAttribute>. Should only be used on two artifacts of the same type

If all attributes are the same, they are assumed duplicates and are compared by their artifact id. Should only be used with attributes of the same type.

Definition at line 1852 of file ReportGenerator.java.

References org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getArtifactID(), and org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getRow().

BlackboardArtifact org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getArtifact ( )
long org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getArtifactID ( )
List<BlackboardAttribute> org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getAttributes ( )
Content org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getContent ( )
long org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getObjectID ( )

Definition at line 1831 of file ReportGenerator.java.

List<String> org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getOrderedRowDataAsStrings ( ) throws TskCoreException
private

Get a list of Strings with all the row values for the Artifact in the correct order to be written to the report.

Returns
List<String> row values. Values could be null if attribute is not defined in artifact
Exceptions
TskCoreException

Definition at line 1907 of file ReportGenerator.java.

References org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getArtifact(), and org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getTags().

Referenced by org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getRow().

List<String> org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getRow ( )

Get the values for each row in the table report.

the value types of custom artifacts

Returns
A list of string representing the data for this artifact.

Definition at line 1871 of file ReportGenerator.java.

References org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getOrderedRowDataAsStrings(), and org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.rowData.

Referenced by org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.compareTo().

HashSet<String> org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.getTags ( )

Member Data Documentation

BlackboardArtifact org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.artifact
private
List<BlackboardAttribute> org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.attributes
private
Content org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.content
private
List<String> org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.rowData = null
private
HashSet<String> org.sleuthkit.autopsy.report.ReportGenerator.ArtifactData.tags
private

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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.