19 package org.sleuthkit.autopsy.ingest;
 
   21 import java.util.Objects;
 
   28 final class FileIngestTask 
extends IngestTask {
 
   30     private final AbstractFile file;
 
   32     FileIngestTask(DataSourceIngestJob job, AbstractFile file) {
 
   37     AbstractFile getFile() {
 
   42     void execute(
long threadId) 
throws InterruptedException {
 
   43         super.setThreadId(threadId);
 
   44         getIngestJob().process(
this);
 
   48     public boolean equals(Object obj) {
 
   52         if (getClass() != obj.getClass()) {
 
   55         FileIngestTask other = (FileIngestTask) obj;
 
   56         DataSourceIngestJob job = getIngestJob();
 
   57         DataSourceIngestJob otherJob = other.getIngestJob();
 
   58         if (job != otherJob && (job == null || !job.equals(otherJob))) {
 
   61         if (this.file != other.file && (
this.file == null || !
this.file.equals(other.file))) {
 
   68     public int hashCode() {
 
   70         hash = 47 * hash + Objects.hashCode(getIngestJob());
 
   71         hash = 47 * hash + Objects.hashCode(this.file);