Autopsy  4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard Class Reference

Classes

enum  DateRange
 

Public Member Functions

 HealthMonitorDashboard (Container parent)
 
void display ()
 

Private Member Functions

JPanel createAdminPanel ()
 
JPanel createTimingControlPanel ()
 
JPanel createTimingPanel () throws HealthMonitorException
 
JPanel createUserControlPanel ()
 
JPanel createUserPanel () throws HealthMonitorException
 
void redisplay ()
 
void updateData () throws HealthMonitorException
 
void updateTimingMetricGraphs () throws HealthMonitorException
 
void updateUserMetricGraphs () throws HealthMonitorException
 

Private Attributes

JDialog dialog = null
 
final Container parentWindow
 
JComboBox< String > timingDateComboBox = null
 
JPanel timingGraphPanel = null
 
JCheckBox timingHostCheckBox = null
 
JComboBox< String > timingHostComboBox = null
 
JCheckBox timingShowTrendLineCheckBox = null
 
JCheckBox timingSkipOutliersCheckBox = null
 
JComboBox< String > userDateComboBox = null
 
JPanel userGraphPanel = null
 

Static Private Attributes

static final String ADMIN_ACCESS_FILE_NAME = "adminAccess"
 
static final String ADMIN_ACCESS_FILE_PATH = Paths.get(Places.getUserDirectory().getAbsolutePath(), ADMIN_ACCESS_FILE_NAME).toString()
 
static final Logger logger = Logger.getLogger(HealthMonitorDashboard.class.getName())
 

Detailed Description

Dashboard for viewing metrics and controlling the health monitor.

Definition at line 57 of file HealthMonitorDashboard.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.HealthMonitorDashboard ( Container  parent)

Create an instance of the dashboard. Call display() after creation to show the dashboard.

Parameters
parentThe parent container (for centering the UI)

Definition at line 83 of file HealthMonitorDashboard.java.

Member Function Documentation

JPanel org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createAdminPanel ( )
private

Create the admin panel. This allows the health monitor to be enabled and disabled.

Returns
the admin panel

Definition at line 529 of file HealthMonitorDashboard.java.

References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.redisplay().

Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().

JPanel org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createTimingControlPanel ( )
private
JPanel org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createTimingPanel ( ) throws HealthMonitorException
private

Create the panel holding the timing graphs and the controls for them.

Returns
The timing panel
Exceptions
HealthMonitorException

Definition at line 174 of file HealthMonitorDashboard.java.

References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createTimingControlPanel(), and org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateTimingMetricGraphs().

Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().

JPanel org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createUserControlPanel ( )
private
JPanel org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createUserPanel ( ) throws HealthMonitorException
private
void org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display ( )
void org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.redisplay ( )
private

Delete the current dialog and create a new one. This should only be called after enabling or disabling the health monitor.

Definition at line 141 of file HealthMonitorDashboard.java.

References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().

Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.createAdminPanel().

void org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateData ( ) throws HealthMonitorException
private

Check the monitor enabled status and, if enabled, get the timing data.

Exceptions
HealthMonitorException

Definition at line 153 of file HealthMonitorDashboard.java.

References org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.DateRange.getMaximumTimestampRange().

Referenced by org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.display().

void org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateTimingMetricGraphs ( ) throws HealthMonitorException
private
void org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.updateUserMetricGraphs ( ) throws HealthMonitorException
private

Member Data Documentation

final String org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.ADMIN_ACCESS_FILE_NAME = "adminAccess"
staticprivate

Definition at line 61 of file HealthMonitorDashboard.java.

final String org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.ADMIN_ACCESS_FILE_PATH = Paths.get(Places.getUserDirectory().getAbsolutePath(), ADMIN_ACCESS_FILE_NAME).toString()
staticprivate

Definition at line 62 of file HealthMonitorDashboard.java.

JDialog org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.dialog = null
private

Definition at line 75 of file HealthMonitorDashboard.java.

final Logger org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.logger = Logger.getLogger(HealthMonitorDashboard.class.getName())
staticprivate

Definition at line 59 of file HealthMonitorDashboard.java.

final Container org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.parentWindow
private

Definition at line 76 of file HealthMonitorDashboard.java.

JComboBox<String> org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.timingDateComboBox = null
private

Definition at line 67 of file HealthMonitorDashboard.java.

JPanel org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.timingGraphPanel = null
private

Definition at line 72 of file HealthMonitorDashboard.java.

JCheckBox org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.timingHostCheckBox = null
private

Definition at line 69 of file HealthMonitorDashboard.java.

JComboBox<String> org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.timingHostComboBox = null
private

Definition at line 68 of file HealthMonitorDashboard.java.

JCheckBox org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.timingShowTrendLineCheckBox = null
private

Definition at line 70 of file HealthMonitorDashboard.java.

JCheckBox org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.timingSkipOutliersCheckBox = null
private

Definition at line 71 of file HealthMonitorDashboard.java.

JComboBox<String> org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.userDateComboBox = null
private

Definition at line 73 of file HealthMonitorDashboard.java.

JPanel org.sleuthkit.autopsy.healthmonitor.HealthMonitorDashboard.userGraphPanel = null
private

Definition at line 74 of file HealthMonitorDashboard.java.


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

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