Autopsy
4.15.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel.
Inherited by org.sleuthkit.autopsy.report.infrastructure.ReportProgressIndicator.
Classes | |
enum | ReportStatus |
Public Member Functions | |
ReportProgressPanel () | |
ReportProgressPanel (String reportName, String reportPath) | |
void | cancel () |
void | complete (ReportStatus reportStatus) |
void | complete (ReportStatus reportStatus, String statusMessage) |
void | complete () |
ReportStatus | getStatus () |
void | increment () |
void | setIndeterminate (boolean indeterminate) |
final void | setLabels (String reportName, String reportPath) |
void | setMaximumProgress (int max) |
void | setProgress (int value) |
void | start () |
void | updateStatusLabel (String statusMessage) |
Protected Member Functions | |
void | setStatus (ReportStatus status) |
Private Member Functions | |
void | initComponents () |
String | shortenPath (String path) |
Private Attributes | |
javax.swing.JLabel | pathLabel |
javax.swing.JLabel | reportLabel |
javax.swing.JProgressBar | reportProgressBar |
javax.swing.JLabel | separationLabel |
volatile ReportStatus | status |
javax.swing.JLabel | statusMessageLabel |
Static Private Attributes | |
static final Color | GREEN = new Color(50, 205, 50) |
static final Logger | logger = Logger.getLogger(ReportProgressPanel.class.getName()) |
static final Color | RED = new Color(178, 34, 34) |
static final long | serialVersionUID = 1L |
A panel used by a report generation module to show progress.
Definition at line 37 of file ReportProgressPanel.java.
org.sleuthkit.autopsy.report.ReportProgressPanel.ReportProgressPanel | ( | ) |
Constructs a panel used by report generation module to show progress.
Definition at line 82 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.QUEUING.
org.sleuthkit.autopsy.report.ReportProgressPanel.ReportProgressPanel | ( | String | reportName, |
String | reportPath | ||
) |
Constructs a panel used by a report generation module to show progress.
reportName | The report name. |
reportPath | The report path. |
Definition at line 437 of file ReportProgressPanel.java.
void org.sleuthkit.autopsy.report.ReportProgressPanel.cancel | ( | ) |
Makes the components of this panel indicate generation of the report was cancelled.
Definition at line 319 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED.
void org.sleuthkit.autopsy.report.ReportProgressPanel.complete | ( | ReportStatus | reportStatus | ) |
Makes the components of this panel indicate the final status of generation of the report.
reportStatus | The final status, must be COMPLETE or ERROR. |
Definition at line 256 of file ReportProgressPanel.java.
Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateFileListReport(), org.sleuthkit.autopsy.report.modules.stix.STIXReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.report.modules.caseuco.CaseUcoReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.kml.KMLReport.generateReport(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.generateReport(), org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateTableReport(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.handleCancellation(), and org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.handleError().
void org.sleuthkit.autopsy.report.ReportProgressPanel.complete | ( | ReportStatus | reportStatus, |
String | statusMessage | ||
) |
Makes the components of this panel indicate the final status of generation of the report.
reportStatus | The final status, must be COMPLETE or ERROR. |
statusMessage | String to use as label or error text. |
Definition at line 278 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED, org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.COMPLETE, and org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.ERROR.
void org.sleuthkit.autopsy.report.ReportProgressPanel.complete | ( | ) |
Makes the components of this panel indicate the generation of the report is completed.
Definition at line 449 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.COMPLETE.
Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportProgressIndicator.complete().
ReportStatus org.sleuthkit.autopsy.report.ReportProgressPanel.getStatus | ( | ) |
Gets the current status of the generation of the report.
Definition at line 159 of file ReportProgressPanel.java.
Referenced by org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.addArtifactsToPortableCase(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.addFilesToPortableCase(), org.sleuthkit.autopsy.report.infrastructure.ReportProgressIndicator.cancel(), org.sleuthkit.autopsy.report.infrastructure.ReportProgressIndicator.complete(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.compressCase(), org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateFileListReport(), org.sleuthkit.autopsy.report.modules.stix.STIXReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.generateReport(), and org.sleuthkit.autopsy.report.infrastructure.ReportProgressIndicator.updateStatusLabel().
void org.sleuthkit.autopsy.report.ReportProgressPanel.increment | ( | ) |
Increments the current value of the progress bar component of this panel by one unit.
Definition at line 199 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED.
Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateFileListReport(), and org.sleuthkit.autopsy.report.modules.stix.STIXReportModule.processFile().
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
Definition at line 365 of file ReportProgressPanel.java.
void org.sleuthkit.autopsy.report.ReportProgressPanel.setIndeterminate | ( | boolean | indeterminate | ) |
Changes the the progress bar component of this panel to be determinate or indeterminate.
indeterminate | True if the progress bar should be set to indeterminate. |
Definition at line 227 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED.
Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateFileListReport(), org.sleuthkit.autopsy.report.modules.stix.STIXReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.report.modules.caseuco.CaseUcoReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.kml.KMLReport.generateReport(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.handleCancellation(), and org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.handleError().
final void org.sleuthkit.autopsy.report.ReportProgressPanel.setLabels | ( | String | reportName, |
String | reportPath | ||
) |
Sets label text.
reportName | The name of the report being generated. |
reportPath | The path to the report file. |
Definition at line 98 of file ReportProgressPanel.java.
Referenced by org.sleuthkit.autopsy.geolocation.GeolocationTopComponent.reportButtonActionPerformed().
void org.sleuthkit.autopsy.report.ReportProgressPanel.setMaximumProgress | ( | int | max | ) |
Sets the maximum value of the progress bar component of this panel.
max | The maximum value. |
Definition at line 187 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED.
Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateFileListReport(), org.sleuthkit.autopsy.report.modules.stix.STIXReportModule.generateReport(), and org.sleuthkit.autopsy.report.modules.caseuco.CaseUcoReportModule.generateReport().
void org.sleuthkit.autopsy.report.ReportProgressPanel.setProgress | ( | int | value | ) |
Sets the current value of the progress bar component of this panel.
value | The value to be set. |
Definition at line 212 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED.
Referenced by org.sleuthkit.autopsy.report.modules.caseuco.CaseUcoReportModule.generateReport().
|
protected |
Sets the current status of the generation of the report.
status | The current status. |
Definition at line 168 of file ReportProgressPanel.java.
Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportProgressIndicator.cancel(), and org.sleuthkit.autopsy.report.infrastructure.ReportProgressIndicator.start().
|
private |
Gets a shortened version of a file path.
path | The path to shorten. |
Definition at line 349 of file ReportProgressPanel.java.
void org.sleuthkit.autopsy.report.ReportProgressPanel.start | ( | ) |
Starts the progress bar component of this panel.
Definition at line 175 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.RUNNING.
Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateFileListReport(), org.sleuthkit.autopsy.report.modules.stix.STIXReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.report.modules.caseuco.CaseUcoReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.kml.KMLReport.generateReport(), and org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.generateReport().
void org.sleuthkit.autopsy.report.ReportProgressPanel.updateStatusLabel | ( | String | statusMessage | ) |
Changes the status message label component of this panel to show a given processing status message. For example, updateStatusLabel("Now processing files...") sets the label text to "Now processing files..."
statusMessage | String to use as label text. |
Definition at line 242 of file ReportProgressPanel.java.
References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED.
Referenced by org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.copyContentToPortableCase(), org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.displayReportErrors(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.generateCaseUcoReport(), org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateFileListReport(), org.sleuthkit.autopsy.report.modules.stix.STIXReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.generateReport(), org.sleuthkit.autopsy.report.modules.caseuco.CaseUcoReportModule.generateReport(), org.sleuthkit.autopsy.report.modules.kml.KMLReport.generateReport(), org.sleuthkit.autopsy.report.modules.portablecase.PortableCaseReportModule.generateReport(), org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateReports(), org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.getFiles(), org.sleuthkit.autopsy.report.modules.stix.STIXReportModule.saveResultsAsArtifacts(), and org.sleuthkit.autopsy.report.modules.caseuco.CaseUcoReportModule.warnIngest().
|
staticprivate |
Definition at line 41 of file ReportProgressPanel.java.
|
staticprivate |
Definition at line 40 of file ReportProgressPanel.java.
|
private |
Definition at line 420 of file ReportProgressPanel.java.
|
staticprivate |
Definition at line 42 of file ReportProgressPanel.java.
|
private |
Definition at line 421 of file ReportProgressPanel.java.
|
private |
Definition at line 422 of file ReportProgressPanel.java.
|
private |
Definition at line 423 of file ReportProgressPanel.java.
|
staticprivate |
Definition at line 39 of file ReportProgressPanel.java.
|
private |
Definition at line 43 of file ReportProgressPanel.java.
|
private |
Definition at line 424 of file ReportProgressPanel.java.
Copyright © 2012-2020 Basis Technology. Generated on: Mon Jul 6 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.