19 package org.sleuthkit.datamodel;
21 import java.util.Date;
22 import java.util.List;
23 import java.util.ResourceBundle;
30 private static final ResourceBundle
bundle = ResourceBundle.getBundle(
"org.sleuthkit.datamodel.Bundle");
35 STARTED(bundle.getString(
"IngestJobInfo.IngestJobStatusType.Started.displayName")),
36 CANCELLED(bundle.getString(
"IngestJobInfo.IngestJobStatusType.Cancelled.displayName")),
37 COMPLETED(bundle.getString(
"IngestJobInfo.IngestJobStatusType.Completed.displayName"));
42 this.displayName = displayName;
47 if (statusType.ordinal() == typeId) {
83 IngestJobInfo(
long ingestJobId,
long objectId, String hostName, Date startDateTime, String settingsDir, List<IngestModuleInfo> ingestModuleInfo,
SleuthkitCase skCase) {
109 this.objectId = dataSourceId;
138 skCase.setIngestJobEndDateTime(
getIngestJobId(), endDateTime.getTime());
140 this.endDateTime = oldDate;
158 this.status = oldStatus;
List< IngestModuleInfo > getIngestModuleInfo()
final List< IngestModuleInfo > ingestModuleInfo
static IngestJobStatusType fromID(int typeId)
void setIngestJobStatus(IngestJobStatusType status)
void setEndDateTime(Date endDateTime)
static final ResourceBundle bundle
IngestJobStatusType(String displayName)
IngestJobStatusType status
final SleuthkitCase skCase
IngestJobStatusType getStatus()