19 package org.sleuthkit.autopsy.ingest;
30 abstract class IngestTask {
32 private final static long NOT_SET = Long.MIN_VALUE;
33 private final IngestJobExecutor ingestJobExecutor;
34 private long threadId;
35 private String contentName;
47 IngestTask(String contentName, IngestJobExecutor ingestJobExecutor) {
48 this.contentName = contentName;
49 this.ingestJobExecutor = ingestJobExecutor;
62 String getContentName() {
72 void setContentName(String contentName) {
73 this.contentName = contentName;
81 IngestJobExecutor getIngestJobExecutor() {
82 return ingestJobExecutor;
90 Content getDataSource() {
91 return getIngestJobExecutor().getDataSource();
108 void setThreadId(
long threadId) {
109 this.threadId = threadId;
120 abstract void execute(
long threadId);