Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | List of all members
org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProgressMonitor Class Reference

Inherits org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.

Public Member Functions

void setIndeterminate (boolean indeterminate)
 
void setIndeterminate (final boolean indeterminate)
 
void setProgress (int progress)
 
void setProgress (final int workUnitsCompleted)
 
default void setProgressMax (final int max)
 
void setProgressText (String text)
 
void setProgressText (final String message)
 

Detailed Description

A do-nothing data source processor progress monitor.

Definition at line 151 of file DataSourceProcessorRunner.java.

Member Function Documentation

void org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.setIndeterminate ( boolean  indeterminate)
inherited

Identify if progress will be indeterminate or not

Parameters
indeterminatetrue if progress bar should not show steps

Referenced by org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.process(), and org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.run().

void org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProgressMonitor.setIndeterminate ( final boolean  indeterminate)

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

Parameters
indeterminateTrue for indeterminate mode, false for determinate mode.

Definition at line 162 of file DataSourceProcessorRunner.java.

void org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.setProgress ( int  progress)
inherited

Increment the progress bar if it is determinate

Parameters
progressHow much progress has happened. Must be smaller than value passed to setProgressMax()
void org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProgressMonitor.setProgress ( final 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.

Definition at line 173 of file DataSourceProcessorRunner.java.

default void org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.setProgressMax ( final int  max)
inherited

Maximum value for a determinate progress bar.

Parameters
maxMax value that will be used

Implemented in org.sleuthkit.autopsy.casemodule.AddImageWizardAddingProgressPanel.DSPProgressMonitorImpl.

Definition at line 45 of file DataSourceProcessorProgressMonitor.java.

void org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.setProgressText ( String  text)
inherited
void org.sleuthkit.autopsy.testutils.DataSourceProcessorRunner.ProgressMonitor.setProgressText ( final String  message)

Updates the progress indicator with a progress message.

Parameters
messageThe progress message.

Definition at line 182 of file DataSourceProcessorRunner.java.


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

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