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

Public Member Functions

Score getAggregateScore (long objId) throws TskCoreException
 
Map< Long, ScoregetAggregateScores (List< Long > objIds) throws TskCoreException
 
List< ContentgetContent (long dataSourceObjectId, Score.Significance significance) throws TskCoreException
 
long getContentCount (long dataSourceObjectId, Score.Significance significance) throws TskCoreException
 

Detailed Description

The scoring manager is responsible for updating and querying the score of objects.

Definition at line 42 of file ScoringManager.java.

Member Function Documentation

Score org.sleuthkit.datamodel.ScoringManager.getAggregateScore ( long  objId) throws TskCoreException
Map<Long, Score> org.sleuthkit.datamodel.ScoringManager.getAggregateScores ( List< Long >  objIds) throws TskCoreException

Get the aggregate scores for the given list of object ids.

Parameters
objIdsObject id list.
Returns
Map<Long, Score> Each input object id will be mapped. If a score is not found for an object Unknown score will be mapped.
Exceptions
TskCoreException

Definition at line 86 of file ScoringManager.java.

References org.sleuthkit.datamodel.SleuthkitCase.acquireSingleUserCaseReadLock(), org.sleuthkit.datamodel.Score.Significance.fromID(), org.sleuthkit.datamodel.Score.Priority.fromID(), org.sleuthkit.datamodel.SleuthkitCase.releaseSingleUserCaseReadLock(), and org.sleuthkit.datamodel.Score.SCORE_UNKNOWN.

List<Content> org.sleuthkit.datamodel.ScoringManager.getContent ( long  dataSourceObjectId,
Score.Significance  significance 
) throws TskCoreException

Get the contents with the specified score.

Parameters
dataSourceObjectIdData source object id.
significanceSignificance to look for.
Returns
Collection of contents with given score.
Exceptions
TskCoreExceptionif there is an error getting the contents.

Definition at line 367 of file ScoringManager.java.

References org.sleuthkit.datamodel.SleuthkitCase.acquireSingleUserCaseReadLock(), and org.sleuthkit.datamodel.SleuthkitCase.releaseSingleUserCaseReadLock().

long org.sleuthkit.datamodel.ScoringManager.getContentCount ( long  dataSourceObjectId,
Score.Significance  significance 
) throws TskCoreException

Get the count of contents within the specified data source with the specified significance.

Parameters
dataSourceObjectIdData source object id.
significanceSignificance to look for.
Returns
Number of contents with given score.
Exceptions
TskCoreExceptionif there is an error getting the count.

Definition at line 317 of file ScoringManager.java.

References org.sleuthkit.datamodel.SleuthkitCase.acquireSingleUserCaseReadLock(), and org.sleuthkit.datamodel.SleuthkitCase.releaseSingleUserCaseReadLock().


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.