19 package org.sleuthkit.datamodel;
21 import java.util.ResourceBundle;
29 private static final ResourceBundle bundle = ResourceBundle.getBundle(
"org.sleuthkit.datamodel.Bundle");
39 DATA_SOURCE_LEVEL(bundle.getString(
"IngestModuleInfo.IngestModuleType.DataSourceLevel.displayName")),
40 FILE_LEVEL(bundle.getString(
"IngestModuleInfo.IngestModuleType.FileLevel.displayName")),
41 DATA_ARTIFACT(bundle.getString(
"IngestModuleInfo.IngestModuleType.DataArtifact.displayName")),
42 MULTIPLE(
"IngestModuleInfo.IngestModuleType.Multiple.displayName"),
43 ANALYSIS_RESULT(bundle.getString(
"IngestModuleInfo.IngestModuleType.AnalysisResult.displayName"));
45 private final String displayName;
48 this.displayName = displayName;
53 if (moduleType.ordinal() == typeId) {
69 private final long ingestModuleId;
70 private final String displayName;
71 private final String uniqueName;
73 private final String version;
84 this.ingestModuleId = ingestModuleId;
85 this.displayName = displayName;
86 this.uniqueName = uniqueName;
88 this.version = version;
95 return ingestModuleId;
static IngestModuleType fromID(int typeId)
IngestModuleType getType()