Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener Class Reference

Inherits PropertyChangeListener.

Classes

class  ArtifactTagTask
 
class  ContentTagTask
 
class  CurrentCaseTask
 
class  DataSourceAddedTask
 
class  DataSourceNameChangedTask
 
class  TagDefinitionChangeTask
 

Public Member Functions

 CaseEventListener ()
 
void propertyChange (PropertyChangeEvent evt)
 
void shutdown ()
 
void startUp ()
 

Static Private Member Functions

static boolean hasNotableTag (List<?extends Tag > tags)
 
static boolean isNotableTag (Tag tag)
 
static boolean isNotableTagDefinition (TagName tagDef)
 
static void setArtifactKnownStatus (CentralRepository centralRepo, BlackboardArtifact artifact, TskData.FileKnown notableStatus)
 

Private Attributes

final ExecutorService jobProcessingExecutor
 

Static Private Attributes

static final String CASE_EVENT_THREAD_NAME = "CR-Case-Event-Listener-%d"
 
static final Set< Case.Events > CASE_EVENTS_OF_INTEREST
 
static final Logger LOGGER = Logger.getLogger(CaseEventListener.class.getName())
 

Detailed Description

An Autopsy events listener for case events relevant to the central repository.

Definition at line 68 of file CaseEventListener.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.CaseEventListener ( )

Contructs an Autopsy events listener for case events relevant to the central repository.

Definition at line 86 of file CaseEventListener.java.

Member Function Documentation

static boolean org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.hasNotableTag ( List<?extends Tag >  tags)
staticprivate

Searches a list of tags for a tag with notable status.

Parameters
tagsThe tags to search.
Returns
Whether or not the list contains a notable tag.

Definition at line 183 of file CaseEventListener.java.

References org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.isNotableTag().

static boolean org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.isNotableTag ( Tag  tag)
staticprivate

Determines whether or not a tag has notable status.

Parameters
tagThe tag.
Returns
True or false.

Definition at line 161 of file CaseEventListener.java.

Referenced by org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.hasNotableTag().

static boolean org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.isNotableTagDefinition ( TagName  tagDef)
staticprivate

Determines whether or not a tag definition calls for notable status.

Parameters
tagDefThe tag definition.
Returns
True or false.

Definition at line 172 of file CaseEventListener.java.

References org.sleuthkit.autopsy.casemodule.services.TagsManager.getNotableTagDisplayNames().

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.propertyChange ( PropertyChangeEvent  evt)
static void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.setArtifactKnownStatus ( CentralRepository  centralRepo,
BlackboardArtifact  artifact,
TskData.FileKnown  notableStatus 
)
staticprivate

Sets the notable (known) status of a central repository correlation attribute corresponding to an artifact.

Parameters
centralRepoThe central repository.
artifactThe artifact.
notableStatusThe new notable status.

Definition at line 201 of file CaseEventListener.java.

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

void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.shutdown ( )
void org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.startUp ( )

Member Data Documentation

final String org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.CASE_EVENT_THREAD_NAME = "CR-Case-Event-Listener-%d"
staticprivate

Definition at line 71 of file CaseEventListener.java.

final Set<Case.Events> org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.CASE_EVENTS_OF_INTEREST
staticprivate
Initial value:
= EnumSet.of(
Case.Events.CONTENT_TAG_ADDED, Case.Events.CONTENT_TAG_DELETED,
Case.Events.BLACKBOARD_ARTIFACT_TAG_DELETED, Case.Events.BLACKBOARD_ARTIFACT_TAG_ADDED,
Case.Events.CONTENT_TAG_ADDED, Case.Events.CONTENT_TAG_DELETED,
Case.Events.DATA_SOURCE_ADDED,
Case.Events.TAG_DEFINITION_CHANGED,
Case.Events.CURRENT_CASE,
Case.Events.DATA_SOURCE_NAME_CHANGED)

Definition at line 72 of file CaseEventListener.java.

final ExecutorService org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.jobProcessingExecutor
private

Definition at line 80 of file CaseEventListener.java.

final Logger org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.LOGGER = Logger.getLogger(CaseEventListener.class.getName())
staticprivate

Definition at line 70 of file CaseEventListener.java.


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

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