19 package org.sleuthkit.autopsy.ingest;
23 abstract class IngestTask {
25 private final static long NOT_SET = Long.MIN_VALUE;
26 private final IngestJobPipeline ingestJobPipeline;
27 private long threadId;
29 IngestTask(IngestJobPipeline ingestJobPipeline) {
30 this.ingestJobPipeline = ingestJobPipeline;
34 IngestJobPipeline getIngestJobPipeline() {
35 return ingestJobPipeline;
38 Content getDataSource() {
39 return getIngestJobPipeline().getDataSource();
46 void setThreadId(
long threadId) {
47 this.threadId = threadId;
50 abstract void execute(
long threadId)
throws InterruptedException;