19 package org.sleuthkit.datamodel.blackboardutils;
21 import java.util.Collection;
22 import java.util.Optional;
23 import org.apache.commons.lang3.StringUtils;
31 class ArtifactHelperBase {
34 private final Content srcContent;
35 private final String moduleName;
36 private final Long ingestJobId;
47 ArtifactHelperBase(
SleuthkitCase caseDb, String moduleName,
Content srcContent, Long ingestJobId) {
48 this.moduleName = moduleName;
49 this.srcContent = srcContent;
51 this.ingestJobId = ingestJobId;
77 String getModuleName() {
87 Optional<Long> getIngestJobId() {
88 return Optional.ofNullable(ingestJobId);
101 if (!StringUtils.isEmpty(attrValue)) {