Autopsy  4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | List of all members
org.sleuthkit.autopsy.progress.ProgressIndicator Interface Reference

Inherited by org.sleuthkit.autopsy.progress.LoggingProgressIndicator, org.sleuthkit.autopsy.progress.ModalDialogProgressIndicator, and org.sleuthkit.autopsy.progress.SilentProgressIndicator.

Public Member Functions

void finish ()
 
void progress (String message)
 
void progress (int workUnitsCompleted)
 
void progress (String message, int workUnitsCompleted)
 
void start (String message, int totalWorkUnits)
 
void start (String message)
 
void switchToDeterminate (String message, int workUnitsCompleted, int totalWorkUnits)
 
void switchToIndeterminate (String message)
 

Detailed Description

An interface for progress indicators. A progress indicator can run in determinate mode (the total number of work units to be completed is known) or indeterminate mode. Switching back and forth between the two modes is supported. Starting, finishing, and starting again is supported.

Definition at line 27 of file ProgressIndicator.java.

Member Function Documentation

void org.sleuthkit.autopsy.progress.ProgressIndicator.finish ( )
void org.sleuthkit.autopsy.progress.ProgressIndicator.progress ( String  message)
void org.sleuthkit.autopsy.progress.ProgressIndicator.progress ( int  workUnitsCompleted)

Updates the progress indicator with the number of work units completed so far when in determinate mode (the total number of work units to be completed is known).

Parameters
workUnitsCompletedNumber of work units completed so far.

Implemented in org.sleuthkit.autopsy.progress.ModalDialogProgressIndicator, org.sleuthkit.autopsy.progress.LoggingProgressIndicator, and org.sleuthkit.autopsy.progress.SilentProgressIndicator.

void org.sleuthkit.autopsy.progress.ProgressIndicator.progress ( String  message,
int  workUnitsCompleted 
)

Updates the progress indicator with a progress message and the number of work units completed so far when in determinate mode (the total number of work units to be completed is known).

Parameters
messageThe progress message.
workUnitsCompletedNumber of work units completed so far.

Implemented in org.sleuthkit.autopsy.progress.ModalDialogProgressIndicator, org.sleuthkit.autopsy.progress.LoggingProgressIndicator, and org.sleuthkit.autopsy.progress.SilentProgressIndicator.

void org.sleuthkit.autopsy.progress.ProgressIndicator.start ( String  message,
int  totalWorkUnits 
)
void org.sleuthkit.autopsy.progress.ProgressIndicator.start ( String  message)

Starts the progress indicator in indeterminate mode (the total number of work units to be completed is unknown).

Parameters
messageThe initial progress message.

Implemented in org.sleuthkit.autopsy.progress.ModalDialogProgressIndicator, org.sleuthkit.autopsy.progress.LoggingProgressIndicator, and org.sleuthkit.autopsy.progress.SilentProgressIndicator.

void org.sleuthkit.autopsy.progress.ProgressIndicator.switchToDeterminate ( String  message,
int  workUnitsCompleted,
int  totalWorkUnits 
)

Switches the progress indicator to determinate mode (the total number of work units to be completed is known).

Parameters
messageThe initial progress message.
workUnitsCompletedThe number of work units completed so far.
totalWorkUnitsThe total number of work units to be completed.

Implemented in org.sleuthkit.autopsy.progress.ModalDialogProgressIndicator, org.sleuthkit.autopsy.progress.LoggingProgressIndicator, and org.sleuthkit.autopsy.progress.SilentProgressIndicator.

Referenced by org.sleuthkit.autopsy.communications.CommunicationsGraph.RebuildWorker.doInBackground().

void org.sleuthkit.autopsy.progress.ProgressIndicator.switchToIndeterminate ( String  message)

Switches the progress indicator to indeterminate mode (the total number of work units to be completed is unknown).

Parameters
messageThe initial progress message.

Implemented in org.sleuthkit.autopsy.progress.ModalDialogProgressIndicator, org.sleuthkit.autopsy.progress.LoggingProgressIndicator, and org.sleuthkit.autopsy.progress.SilentProgressIndicator.

Referenced by org.sleuthkit.autopsy.keywordsearch.SolrSearchService.openCaseResources().


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

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