20 package org.sleuthkit.autopsy.report.caseuco;
22 import java.util.logging.Level;
23 import javax.swing.JPanel;
24 import java.sql.SQLException;
25 import org.openide.util.NbBundle;
52 if (instance == null) {
60 String name = NbBundle.getMessage(this.getClass(),
"ReportCaseUco.getName.text");
71 String desc = NbBundle.getMessage(this.getClass(),
"ReportCaseUco.getDesc.text");
78 configPanel =
new ReportCaseUcoConfigPanel();
80 logger.log(Level.SEVERE,
"Failed to initialize CASE-UCO settings panel", ex);
103 "ReportCaseUco.notInitialized=CASE-UCO settings panel has not been initialized",
104 "ReportCaseUco.noDataSourceSelected=No data source selected for CASE-UCO report"
107 @SuppressWarnings(
"deprecation")
110 if (configPanel == null) {
111 logger.log(Level.SEVERE,
"CASE-UCO settings panel has not been initialized");
117 Long selectedDataSourceId = configPanel.getSelectedDataSourceId();
118 if (selectedDataSourceId == ReportCaseUcoConfigPanel.NO_DATA_SOURCE_SELECTED) {
119 logger.log(Level.SEVERE,
"No data source selected for CASE-UCO report");
JPanel getConfigurationPanel()
static String getReportFileName()
static final String REPORT_FILE_NAME
void complete(ReportStatus reportStatus)
static synchronized ReportCaseUco getDefault()
static final Logger logger
synchronized static Logger getLogger(String name)
String getRelativeFilePath()
void generateReport(String baseReportDir, ReportProgressPanel progressPanel)
ReportCaseUcoConfigPanel configPanel
static ReportCaseUco instance
static void error(String message)