19 package org.sleuthkit.autopsy.testutils;
21 import java.nio.file.Path;
22 import java.util.ArrayList;
23 import java.util.List;
24 import java.util.UUID;
25 import javax.annotation.concurrent.Immutable;
39 Object ingestMonitor =
new Object();
41 synchronized (ingestMonitor) {
42 processor.process(UUID.randomUUID().toString(), dataSourcePath, progressMonitor, callBack);
93 this.errorMessages.addAll(errorMessages);
94 this.dataSourceContent.addAll(dataSourceContent);
115 done(result, errorMessages, dataSourceContent);
static ProcessorCallback runDataSourceProcessor(AutoIngestDataSourceProcessor processor, Path dataSourcePath)
DataSourceProcessorResult getResult()
void setIndeterminate(final boolean indeterminate)
DataSourceProcessorRunner()
void setProgressText(final String message)
List< Content > getDataSourceContent()
ProcessorCallback(Object monitor)
List< String > getErrorMessages()
DataSourceProcessorResult result
void setProgress(final int workUnitsCompleted)
void done(DataSourceProcessorCallback.DataSourceProcessorResult result, List< String > errorMessages, List< Content > dataSourceContent)
void doneEDT(DataSourceProcessorCallback.DataSourceProcessorResult result, List< String > errorMessages, List< Content > dataSourceContent)
final List< Content > dataSourceContent
final List< String > errorMessages