Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R > Class Template Reference

Classes

enum  ResultType
 

Public Member Functions

getData ()
 
Throwable getException ()
 
ResultType getResultType ()
 

Static Public Member Functions

static< R > DataFetchResult< R > getErrorResult (Throwable e)
 
static< I, O > DataFetchResult< O > getSubResult (DataFetchResult< I > inputResult, Function< I, O > getSubResult)
 
static< R > DataFetchResult< R > getSuccessResult (R data)
 

Private Member Functions

 DataFetchResult (ResultType state, R data, Throwable exception)
 

Private Attributes

final R data
 
final Throwable exception
 
final ResultType state
 

Detailed Description

The result of a loading process.

Definition at line 26 of file DataFetchResult.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.DataFetchResult ( ResultType  state,
data,
Throwable  exception 
)
private

Main constructor for the DataLoadingResult.

Parameters
stateThe state of the result.
dataIf the result is SUCCESS, the data related to this result.
exceptionIf the result is ERROR, the related exception.

Definition at line 91 of file DataFetchResult.java.

References org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.data, org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.exception, and org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.state.

Member Function Documentation

static <R> DataFetchResult<R> org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getErrorResult ( Throwable  e)
static
static <I,O> DataFetchResult<O> org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getSubResult ( DataFetchResult< I >  inputResult,
Function< I, O >  getSubResult 
)
static
static <R> DataFetchResult<R> org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getSuccessResult ( data)
static

Member Data Documentation


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

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