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

Inherits JPanel.

Public Member Functions

 IngestRunningLabel ()
 
 IngestRunningLabel (String message, boolean showWarningIcon)
 
void unregister ()
 

Static Public Attributes

static final String DEFAULT_MESSAGE = Bundle.IngestRunningLabel_defaultMessage()
 

Protected Member Functions

final void refreshState ()
 
final void refreshState (boolean ingestIsRunning)
 

Static Private Member Functions

static void notifyListeners (boolean ingestIsRunning)
 
static void removeListener (IngestRunningLabel label)
 
static void setupListener (IngestRunningLabel label)
 

Static Private Attributes

static Set< IngestRunningLabelactiveLabels = new HashSet<>()
 
static PropertyChangeListener classListener = null
 
static final URL DEFAULT_ICON = IngestRunningLabel.class.getResource("/org/sleuthkit/autopsy/modules/filetypeid/warning16.png")
 
static final Set< IngestManager.IngestJobEvent > INGEST_JOB_EVENTS_OF_INTEREST
 
static Object lockObject = new Object()
 
static final long serialVersionUID = 1L
 

Detailed Description

JLabel that shows ingest is running.

Definition at line 39 of file IngestRunningLabel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.IngestRunningLabel ( )

Main constructor with default message and showing icon.

Definition at line 120 of file IngestRunningLabel.java.

org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.IngestRunningLabel ( String  message,
boolean  showWarningIcon 
)

Constructor.

Parameters
messageThe message to be shown.
showWarningIconWhether or not to show warning icon.

Definition at line 130 of file IngestRunningLabel.java.

Member Function Documentation

static void org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.notifyListeners ( boolean  ingestIsRunning)
staticprivate

Notifies all listening instances of an update in ingest state.

Parameters
ingestIsRunningWhether or not ingest is running currently.

Definition at line 94 of file IngestRunningLabel.java.

final void org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.refreshState ( )
protected

Refresh state of this label based on ingest status.

Definition at line 148 of file IngestRunningLabel.java.

References org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), and org.sleuthkit.autopsy.ingest.IngestManager.isIngestRunning().

final void org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.refreshState ( boolean  ingestIsRunning)
protected

Refresh state of this label based on ingest status.

Parameters
ingestIsRunningTrue if ingest is running.

Definition at line 157 of file IngestRunningLabel.java.

static void org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.removeListener ( IngestRunningLabel  label)
staticprivate

Removes a label from listening events.

Parameters
labelThe label to remove from listening events.

Definition at line 107 of file IngestRunningLabel.java.

References org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), and org.sleuthkit.autopsy.ingest.IngestManager.removeIngestJobEventListener().

static void org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.setupListener ( IngestRunningLabel  label)
staticprivate
void org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.unregister ( )

Member Data Documentation

Set<IngestRunningLabel> org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.activeLabels = new HashSet<>()
staticprivate

Definition at line 51 of file IngestRunningLabel.java.

PropertyChangeListener org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.classListener = null
staticprivate

Definition at line 52 of file IngestRunningLabel.java.

final URL org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.DEFAULT_ICON = IngestRunningLabel.class.getResource("/org/sleuthkit/autopsy/modules/filetypeid/warning16.png")
staticprivate

Definition at line 43 of file IngestRunningLabel.java.

final String org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.DEFAULT_MESSAGE = Bundle.IngestRunningLabel_defaultMessage()
static

Definition at line 42 of file IngestRunningLabel.java.

final Set<IngestManager.IngestJobEvent> org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.INGEST_JOB_EVENTS_OF_INTEREST
staticprivate
Initial value:
= EnumSet.of(
IngestManager.IngestJobEvent.STARTED,
IngestManager.IngestJobEvent.CANCELLED,
IngestManager.IngestJobEvent.COMPLETED
)

Definition at line 45 of file IngestRunningLabel.java.

Object org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.lockObject = new Object()
staticprivate

Definition at line 53 of file IngestRunningLabel.java.

final long org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.serialVersionUID = 1L
staticprivate

Definition at line 41 of file IngestRunningLabel.java.


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

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