Autopsy  4.21.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

Member Function Documentation

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

Identify if progress will be indeterminate or not

indeterminatetrue if progress bar should not show steps

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

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).

indeterminateTrue for indeterminate mode, false for determinate mode.

Definition at line 162 of file

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

Increment the progress bar if it is determinate

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).

workUnitsCompletedNumber of work units completed so far.

Definition at line 173 of file

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

Maximum value for a determinate progress bar.

maxMax value that will be used

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

Definition at line 45 of file

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

Updates the progress indicator with a progress message.

messageThe progress message.

Definition at line 182 of file

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.