mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
Progress monitor and logging updates
This commit is contained in:
parent
bd32abf036
commit
cb3ebedf9c
@ -112,6 +112,7 @@ class AddArchiveTask implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// extract contents of ZIP archive into destination folder
|
// extract contents of ZIP archive into destination folder
|
||||||
|
progressMonitor.setProgressText(String.format("Extracting archive contents to: %s", destinationFolder.toString()));
|
||||||
List<String> extractedFiles = ArchiveUtil.unpackArchiveFile(archivePath, destinationFolder.toString());
|
List<String> extractedFiles = ArchiveUtil.unpackArchiveFile(archivePath, destinationFolder.toString());
|
||||||
|
|
||||||
// do processing
|
// do processing
|
||||||
|
@ -175,7 +175,7 @@ public class ArchiveExtractorDSProcessor implements DataSourceProcessor, AutoIng
|
|||||||
public void cancel() {
|
public void cancel() {
|
||||||
if (null != jobProcessingTaskFuture) {
|
if (null != jobProcessingTaskFuture) {
|
||||||
jobProcessingTaskFuture.cancel(true);
|
jobProcessingTaskFuture.cancel(true);
|
||||||
jobProcessingExecutor.shutdownNow();
|
jobProcessingExecutor.shutdown();
|
||||||
// ELTBD - do we want to wait for the cancellation to complete? I think not,
|
// ELTBD - do we want to wait for the cancellation to complete? I think not,
|
||||||
// given that the cancelation is of "best effort" variety
|
// given that the cancelation is of "best effort" variety
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user