mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Lunacy cleanup.
This commit is contained in:
parent
180b74bc2d
commit
41cfd733f9
@ -1213,11 +1213,11 @@ public final class DataSourceIngestJob {
|
||||
return this.dataSourceLevelIngestModule;
|
||||
}
|
||||
|
||||
boolean fileIngestIsRunning() {
|
||||
boolean getFileIngestIsRunning() {
|
||||
return this.fileIngestRunning;
|
||||
}
|
||||
|
||||
Date fileIngestStartTime() {
|
||||
Date getFileIngestStartTime() {
|
||||
return this.fileIngestStartTime;
|
||||
}
|
||||
|
||||
|
@ -355,10 +355,10 @@ public final class IngestJob {
|
||||
dataSourceModule = new DataSourceIngestModuleHandle(dataSourceJobs.get(snapshot.getJobId()), module);
|
||||
}
|
||||
}
|
||||
if (snapshot.fileIngestIsRunning()) {
|
||||
if (snapshot.getFileIngestIsRunning()) {
|
||||
fileIngestRunning = true;
|
||||
}
|
||||
Date childFileIngestStartTime = snapshot.fileIngestStartTime();
|
||||
Date childFileIngestStartTime = snapshot.getFileIngestStartTime();
|
||||
if (null != childFileIngestStartTime && (null == fileIngestStartTime || childFileIngestStartTime.before(fileIngestStartTime))) {
|
||||
fileIngestStartTime = childFileIngestStartTime;
|
||||
}
|
||||
|
@ -31,19 +31,19 @@ public interface IngestProgressSnapshotProvider {
|
||||
*
|
||||
* @return A list of IngestThreadActivitySnapshot
|
||||
*/
|
||||
public List<IngestManager.IngestThreadActivitySnapshot> getIngestThreadActivitySnapshots();
|
||||
List<IngestManager.IngestThreadActivitySnapshot> getIngestThreadActivitySnapshots();
|
||||
|
||||
/**
|
||||
* Get a snapshot of the state of ingest jobs.
|
||||
*
|
||||
* @return A list of ingest job snapshots.
|
||||
*/
|
||||
public List<DataSourceIngestJob.Snapshot> getIngestJobSnapshots();
|
||||
List<DataSourceIngestJob.Snapshot> getIngestJobSnapshots();
|
||||
|
||||
/**
|
||||
* Gets the cumulative run times for the ingest module.
|
||||
*
|
||||
* @return Map of module name to run time (in milliseconds)
|
||||
*/
|
||||
public Map<String, Long> getModuleRunTimes();
|
||||
Map<String, Long> getModuleRunTimes();
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ final class AutoIngestAdminActions {
|
||||
if (tc != null) {
|
||||
AutoIngestDashboard dashboard = tc.getAutoIngestDashboard();
|
||||
if (dashboard != null) {
|
||||
IngestProgressSnapshotDialog ingestProgressSnapshotDialog = new IngestProgressSnapshotDialog(dashboard.getTopLevelAncestor(), true, job);
|
||||
new IngestProgressSnapshotDialog(dashboard.getTopLevelAncestor(), true, job);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user