19 package org.sleuthkit.autopsy.ingest;
29 abstract class IngestTask {
31 private final static long NOT_SET = Long.MIN_VALUE;
32 private final IngestJobPipeline ingestJobPipeline;
33 private long threadId;
44 IngestTask(IngestJobPipeline ingestJobPipeline) {
45 this.ingestJobPipeline = ingestJobPipeline;
54 IngestJobPipeline getIngestJobPipeline() {
55 return ingestJobPipeline;
63 Content getDataSource() {
64 return getIngestJobPipeline().getDataSource();
81 void setThreadId(
long threadId) {
82 this.threadId = threadId;
93 abstract void execute(
long threadId);