Autopsy  4.16.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.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask Class Reference

Inherits Runnable.

Public Member Functions

void run ()
 

Private Member Functions

 BlackboardTagTask (CentralRepository db, PropertyChangeEvent evt)
 
void handleTagAdded (BlackBoardArtifactTagAddedEvent evt)
 
void handleTagChange (Content content, BlackboardArtifact bbArtifact)
 
void handleTagDeleted (BlackBoardArtifactTagDeletedEvent evt)
 
boolean isKnownFile (Content content)
 
void setArtifactKnownStatus (BlackboardArtifact bbArtifact, TskData.FileKnown knownStatus)
 

Private Attributes

final CentralRepository dbManager
 
final PropertyChangeEvent event
 

Detailed Description

Definition at line 311 of file CaseEventListener.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.BlackboardTagTask ( CentralRepository  db,
PropertyChangeEvent  evt 
)
private

Definition at line 316 of file CaseEventListener.java.

Member Function Documentation

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.handleTagAdded ( BlackBoardArtifactTagAddedEvent  evt)
private

Definition at line 372 of file CaseEventListener.java.

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.handleTagChange ( Content  content,
BlackboardArtifact  bbArtifact 
)
private

When a tag is added or deleted, check if there are other notable tags for the item. If there are, set known status as notable. If not set status as unknown.

Parameters
contentThe content for the tag that was added or deleted.
bbArtifactThe artifact for the tag that was added or deleted.

Definition at line 391 of file CaseEventListener.java.

References org.sleuthkit.autopsy.casemodule.services.TagsManager.getBlackboardArtifactTagsByArtifact(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getServices(), and org.sleuthkit.autopsy.casemodule.services.Services.getTagsManager().

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.handleTagDeleted ( BlackBoardArtifactTagDeletedEvent  evt)
private
boolean org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.isKnownFile ( Content  content)
private

Determines if the content is an abstract file and is a known file.

Parameters
contentThe content to assess.
Returns
True if an abstract file and a known file.

Definition at line 425 of file CaseEventListener.java.

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.run ( )
void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.setArtifactKnownStatus ( BlackboardArtifact  bbArtifact,
TskData.FileKnown  knownStatus 
)
private

Sets the known status of a blackboard artifact in the central repository.

Parameters
bbArtifactThe blackboard artifact to set known status.
knownStatusThe new known status.

Definition at line 436 of file CaseEventListener.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeUtil.makeCorrAttrsForCorrelation(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.setAttributeInstanceKnownStatus().

Member Data Documentation

final CentralRepository org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.dbManager
private

Definition at line 313 of file CaseEventListener.java.

final PropertyChangeEvent org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.BlackboardTagTask.event
private

Definition at line 314 of file CaseEventListener.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.