Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode Class Reference

Inherits org.sleuthkit.autopsy.datamodel.DisplayableItemNode.

Inherited by org.sleuthkit.autopsy.datamodel.accounts.Accounts.AccountArtifactNode.

Public Member Functions

 BlackboardArtifactNode (BlackboardArtifact artifact, String iconPath)
 
 BlackboardArtifactNode (BlackboardArtifact artifact)
 
void addNodeProperty (NodeProperty<?> np)
 
Action[] getActions (boolean context)
 
String getItemType ()
 
boolean isLeafTypeNode ()
 

Protected Member Functions

Sheet createSheet ()
 

Private Member Functions

void fillPropertyMap (Map< String, Object > map, BlackboardArtifact artifact)
 
String getRootParentName ()
 
void removeListeners ()
 
void setDisplayName ()
 
void updateSheet ()
 

Static Private Member Functions

static Lookup createLookup (BlackboardArtifact artifact)
 
static Content getAssociatedContent (BlackboardArtifact artifact)
 
static TextMarkupLookup getHighlightLookup (BlackboardArtifact artifact, Content content)
 

Private Attributes

final BlackboardArtifact artifact
 
final Content associated
 
List< NodeProperty<?extends Object > > customProperties
 
final PropertyChangeListener pcl
 

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(BlackboardArtifactNode.class.getName())
 
static final Integer[] SHOW_FILE_METADATA
 
static final Integer[] SHOW_UNIQUE_PATH
 

Detailed Description

Node wrapping a blackboard artifact object. This is generated from several places in the tree.

Definition at line 60 of file BlackboardArtifactNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode ( BlackboardArtifact  artifact,
String  iconPath 
)

Construct blackboard artifact node from an artifact and using provided icon

Parameters
artifactartifact to encapsulate
iconPathicon to use for the artifact

Definition at line 121 of file BlackboardArtifactNode.java.

References org.sleuthkit.autopsy.casemodule.Case.addPropertyChangeListener(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifact, org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createLookup(), and org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.setDisplayName().

org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode ( BlackboardArtifact  artifact)

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addNodeProperty ( NodeProperty<?>  np)

Add an additional custom node property to that node before it is displayed

Parameters
npNodeProperty to add

Definition at line 383 of file BlackboardArtifactNode.java.

Referenced by org.sleuthkit.autopsy.datamodel.KeywordHits.HitsFactory.createNodeForKey().

static Lookup org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createLookup ( BlackboardArtifact  artifact)
staticprivate
Sheet org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet ( )
protected
void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.fillPropertyMap ( Map< String, Object >  map,
BlackboardArtifact  artifact 
)
private

Fill map with Artifact properties

Parameters
mapmap with preserved ordering, where property names/values are put
artifactto extract properties from

Definition at line 399 of file BlackboardArtifactNode.java.

References org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.associated, and org.sleuthkit.autopsy.datamodel.ContentUtils.getStringTime().

Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet().

Action [] org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions ( boolean  context)
static Content org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getAssociatedContent ( BlackboardArtifact  artifact)
staticprivate
static TextMarkupLookup org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getHighlightLookup ( BlackboardArtifact  artifact,
Content  content 
)
staticprivate
String org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getItemType ( )

Definition at line 515 of file BlackboardArtifactNode.java.

String org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getRootParentName ( )
private
boolean org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.isLeafTypeNode ( )

Definition at line 510 of file BlackboardArtifactNode.java.

void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.removeListeners ( )
private
void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.setDisplayName ( )
private

Set the filter node display name. The value will either be the file name or something along the lines of e.g. "Messages Artifact" for keyword hits on artifacts.

Definition at line 201 of file BlackboardArtifactNode.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.BlackboardArtifactNode().

void org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.updateSheet ( )
private

Member Data Documentation

final BlackboardArtifact org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.artifact
private
final Content org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.associated
private
List<NodeProperty<? extends Object> > org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.customProperties
private

Definition at line 64 of file BlackboardArtifactNode.java.

final Logger org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.LOGGER = Logger.getLogger(BlackboardArtifactNode.class.getName())
staticprivate

Definition at line 65 of file BlackboardArtifactNode.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.pcl
private

Definition at line 81 of file BlackboardArtifactNode.java.

final Integer [] org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.SHOW_FILE_METADATA
staticprivate
Initial value:
= new Integer[]{
BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT.getTypeID(),}

Definition at line 78 of file BlackboardArtifactNode.java.

final Integer [] org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.SHOW_UNIQUE_PATH
staticprivate
Initial value:
= new Integer[]{
BlackboardArtifact.ARTIFACT_TYPE.TSK_HASHSET_HIT.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID(),
BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT.getTypeID(),}

Definition at line 70 of file BlackboardArtifactNode.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jan 2 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.