19 package org.sleuthkit.autopsy.keywordsearch.multicase;
21 import javax.annotation.concurrent.Immutable;
27 final class SearchHit {
29 private final String caseDisplayName;
30 private final String caseDirectoryPath;
31 private final String dataSourceName;
32 private final SourceType sourceType;
33 private final String sourceName;
34 private final String sourcePath;
52 SearchHit(String caseDisplayName, String caseDirectoryPath, String dataSourceName, SourceType sourceType, String sourceName, String sourcePath) {
53 this.caseDisplayName = caseDisplayName;
54 this.caseDirectoryPath = caseDirectoryPath;
55 this.dataSourceName = dataSourceName;
56 this.sourceType = sourceType;
57 this.sourceName = sourceName;
58 this.sourcePath = sourcePath;
66 String getCaseDisplayName() {
67 return this.caseDisplayName;
75 String getCaseDirectoryPath() {
76 return this.caseDirectoryPath;
84 String getDataSourceName() {
85 return this.dataSourceName;
93 SourceType getSourceType() {
94 return this.sourceType;
103 String getSourceName() {
104 return this.sourceName;
113 String getSourcePath() {
114 return this.sourcePath;
122 LOCAL_FILE(
"Local File"),
123 ARTIFACT(
"Artifact"),
126 private final String displayName;
128 private SourceType(String displayName) {
129 this.displayName = displayName;
132 String getDisplayName() {
133 return this.displayName;