19 package org.sleuthkit.datamodel.blackboardutils;
21 import java.util.ArrayList;
22 import java.util.List;
41 private final String programName;
58 super(caseDb, moduleName, srcContent);
59 this.programName = programName;
85 if (trackPoints == null || trackPoints.isEmpty()) {
86 throw new IllegalArgumentException(String.format(
"addTrack was passed a null or empty list of track points"));
89 List<BlackboardAttribute> attributes =
new ArrayList<>();
91 if (trackName != null) {
98 if (programName != null) {
102 if (moreAttributes != null) {
103 attributes.addAll(moreAttributes);
109 getSleuthkitCase().getBlackboard().postArtifact(artifact, getModuleName());
140 if (wayPoints == null || wayPoints.isEmpty()) {
141 throw new IllegalArgumentException(String.format(
"addRoute was passed a null or empty list of waypoints"));
145 List<BlackboardAttribute> attributes =
new ArrayList<>();
149 if (routeName != null) {
153 if (creationTime != null) {
157 if (programName != null) {
161 if (moreAttributes != null) {
162 attributes.addAll(moreAttributes);
167 getSleuthkitCase().getBlackboard().postArtifact(artifact, getModuleName());
static< T > BlackboardAttribute toAttribute(BlackboardAttribute.Type attrType, String moduleName, T attrValue)
void addAttributes(Collection< BlackboardAttribute > attributes)
BlackboardArtifact addTrack(String trackName, GeoTrackPoints trackPoints, List< BlackboardAttribute > moreAttributes)
BlackboardArtifact newArtifact(int artifactTypeID)
GeoArtifactsHelper(SleuthkitCase caseDb, String moduleName, String programName, Content srcContent)
BlackboardArtifact addRoute(String routeName, Long creationTime, GeoWaypoints wayPoints, List< BlackboardAttribute > moreAttributes)