Go to the documentation of this file.
19package org.sleuthkit.autopsy.testutils;
21import java.beans.PropertyChangeEvent;
22import java.beans.PropertyChangeListener;
23import java.util.Collection;
24import java.util.Collections;
25import java.util.EnumSet;
28import javax.annotation.concurrent.GuardedBy;
29import org.sleuthkit.autopsy.events.AutopsyEvent;
30import org.sleuthkit.autopsy.ingest.IngestJobSettings;
31import org.sleuthkit.autopsy.ingest.IngestJobStartResult;
32import org.sleuthkit.autopsy.ingest.IngestManager;
33import org.sleuthkit.autopsy.ingest.IngestModuleError;
34import org.sleuthkit.datamodel.Content;
56 Object ingestMonitor =
new Object();
61 synchronized (ingestMonitor) {
65 return Collections.emptyList();
85 private static final class IngestJobCompletionListener
implements PropertyChangeListener {
89 @GuardedBy(
"ingestMonitor")
101 IngestJobCompletionListener(Object
ingestMonitor,
int jobsCount) {
103 this.remainingJobsCount = jobsCount;
115 String eventType =
event.getPropertyName();
List< IngestModuleError > getModuleErrors()
static synchronized IngestManager getInstance()
IngestJobStartResult beginIngestJob(Collection< Content > dataSources, IngestJobSettings settings)
void removeIngestJobEventListener(final PropertyChangeListener listener)
void addIngestJobEventListener(final PropertyChangeListener listener)
void propertyChange(PropertyChangeEvent event)
final Object ingestMonitor
static final Set< IngestManager.IngestJobEvent > INGEST_JOB_EVENTS_OF_INTEREST
static List< IngestModuleError > runIngestJob(Collection< Content > dataSources, IngestJobSettings settings)
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.