19 package org.sleuthkit.autopsy.testutils;
21 import java.beans.PropertyChangeEvent;
22 import java.beans.PropertyChangeListener;
23 import java.util.Collection;
24 import java.util.Collections;
25 import java.util.EnumSet;
26 import java.util.List;
28 import javax.annotation.concurrent.GuardedBy;
56 Object ingestMonitor =
new Object();
61 synchronized (ingestMonitor) {
65 return Collections.emptyList();
71 ingestManager.removeIngestJobEventListener(completiontListener);
89 @GuardedBy(
"ingestMonitor")
103 this.remainingJobsCount = jobsCount;
115 String eventType =
event.getPropertyName();
120 ingestMonitor.notify();
static synchronized IngestManager getInstance()
static List< IngestModuleError > runIngestJob(Collection< Content > dataSources, IngestJobSettings settings)
void propertyChange(PropertyChangeEvent event)
List< IngestModuleError > getModuleErrors()
static final Set< IngestManager.IngestJobEvent > INGEST_JOB_EVENTS_OF_INTEREST
void addIngestJobEventListener(final PropertyChangeListener listener)
final Object ingestMonitor