Sleuth Kit Java Bindings (JNI)  4.11.1
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.blackboardutils.ArtifactsHelper Class Reference

Inherits org.sleuthkit.datamodel.blackboardutils.ArtifactHelperBase.

Public Member Functions

 ArtifactsHelper (SleuthkitCase caseDb, String moduleName, Content srcContent, Long ingestJobId)
 
 ArtifactsHelper (SleuthkitCase caseDb, String moduleName, Content srcContent)
 
BlackboardArtifact addInstalledProgram (String programName, long dateInstalled) throws TskCoreException, BlackboardException
 
BlackboardArtifact addInstalledProgram (String programName, long dateInstalled, Collection< BlackboardAttribute > otherAttributesList) throws TskCoreException, BlackboardException
 

Detailed Description

A class that helps modules to create various types of artifacts.

Definition at line 36 of file ArtifactsHelper.java.

Constructor & Destructor Documentation

org.sleuthkit.datamodel.blackboardutils.ArtifactsHelper.ArtifactsHelper ( SleuthkitCase  caseDb,
String  moduleName,
Content  srcContent,
Long  ingestJobId 
)

Constructs an instance of a class that helps modules to create various types of artifacts.

Parameters
caseDbThe case database.
moduleNameThe name of the module creating the artifacts.
srcContentThe source/parent content of the artifacts.
ingestJobIdThe numeric identifier of the ingest job within which the artifacts are being created, may be null.

Definition at line 50 of file ArtifactsHelper.java.

org.sleuthkit.datamodel.blackboardutils.ArtifactsHelper.ArtifactsHelper ( SleuthkitCase  caseDb,
String  moduleName,
Content  srcContent 
)

Constructs an instance of a class that helps modules to create various types of artifacts.

Parameters
caseDbThe case database.
moduleNameThe name of the module creating the artifacts.
srcContentThe source/parent content of the artifacts.
Deprecated:
Use ArtifactsHelper(SleuthkitCase caseDb, String moduleName, Content srcContent, Long ingestJobId) instead.

Definition at line 66 of file ArtifactsHelper.java.

Member Function Documentation

BlackboardArtifact org.sleuthkit.datamodel.blackboardutils.ArtifactsHelper.addInstalledProgram ( String  programName,
long  dateInstalled 
) throws TskCoreException, BlackboardException

Adds a TSK_INSTALLED_PROGRAM artifact.

Parameters
programNameName of program, required.
dateInstalledDate/time of install, can be 0 if not available.
Returns
Installed program artifact added.
Exceptions
TskCoreExceptionIf there is an error creating the artifact.
BlackboardExceptionIf there is a problem posting the artifact.

Definition at line 81 of file ArtifactsHelper.java.

BlackboardArtifact org.sleuthkit.datamodel.blackboardutils.ArtifactsHelper.addInstalledProgram ( String  programName,
long  dateInstalled,
Collection< BlackboardAttribute otherAttributesList 
) throws TskCoreException, BlackboardException

Adds a TSK_INSTALLED_PROGRAM artifact.

Parameters
programNameName of program, required.
dateInstalledDate/time of install, can be 0 if not available.
otherAttributesListAdditional attributes, can be an empty list if no additional attributes.
Returns
Installed program artifact added.
Exceptions
TskCoreExceptionIf there is an error creating the artifact.
BlackboardExceptionIf there is a problem posting the artifact.

Definition at line 100 of file ArtifactsHelper.java.

References org.sleuthkit.datamodel.Content.newDataArtifact(), org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DATETIME, and org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PROG_NAME.


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

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.