Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.geolocation.datamodel.GeoLocationParseResult< T > Class Template Reference

Public Member Functions

 GeoLocationParseResult ()
 
 GeoLocationParseResult (List< T > items, boolean successfullyParsed)
 
void add (GeoLocationParseResult< T > toAdd)
 
List< T > getItems ()
 
boolean isSuccessfullyParsed ()
 

Private Attributes

final List< T > items = new ArrayList<>()
 
boolean successfullyParsed
 

Detailed Description

The result of attempting to parse GeoLocation objects.

Definition at line 28 of file GeoLocationParseResult.java.

Constructor & Destructor Documentation

Returns a GeoLocationParseResult with no items and declared successfully parsed.

Definition at line 37 of file GeoLocationParseResult.java.

org.sleuthkit.autopsy.geolocation.datamodel.GeoLocationParseResult< T >.GeoLocationParseResult ( List< T >  items,
boolean  successfullyParsed 
)

Returns a new GeoLocationParseResult.

Parameters
itemsThe items to copy to this result (can be null).
successfullyParsedWhether or not the operation was entirely successful.

Definition at line 48 of file GeoLocationParseResult.java.

References org.sleuthkit.autopsy.geolocation.datamodel.GeoLocationParseResult< T >.successfullyParsed.

Member Function Documentation

Adds the content of the GeoLocationParseResult parameter to this. Items will be concatenated and this object's successfullyParsed status will be true if it is already true and the object is true as well.

Parameters
toAddThe GeoLocationParseResult to add.

Definition at line 63 of file GeoLocationParseResult.java.

References org.sleuthkit.autopsy.geolocation.datamodel.GeoLocationParseResult< T >.getItems(), and org.sleuthkit.autopsy.geolocation.datamodel.GeoLocationParseResult< T >.isSuccessfullyParsed().

Referenced by org.sleuthkit.autopsy.geolocation.datamodel.WaypointBuilder.getAllWaypoints(), and org.sleuthkit.autopsy.geolocation.datamodel.WaypointBuilder.getWaypointForArtifact().

Whether or not the GeoLocation object has been successfully parsed.

Returns
Whether or not the GeoLocation object has been successfully parsed.

Definition at line 74 of file GeoLocationParseResult.java.

References org.sleuthkit.autopsy.geolocation.datamodel.GeoLocationParseResult< T >.successfullyParsed.

Referenced by org.sleuthkit.autopsy.geolocation.datamodel.GeoLocationParseResult< T >.add(), and org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.process().

Member Data Documentation

final List<T> org.sleuthkit.autopsy.geolocation.datamodel.GeoLocationParseResult< T >.items = new ArrayList<>()
private

Definition at line 31 of file GeoLocationParseResult.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.