19 package org.sleuthkit.autopsy.ingest;
21 import java.util.List;
22 import java.util.Optional;
42 super(ingestJobExecutor, moduleTemplates);
46 Optional<PipelineModule<AnalysisResultIngestTask>> acceptModuleTemplate(
IngestModuleTemplate template) {
47 Optional<IngestPipeline.PipelineModule<AnalysisResultIngestTask>> module = Optional.empty();
48 if (
template.isAnalysisResultIngestModuleTemplate()) {
50 module = Optional.of(
new AnalysisResultIngestPipelineModule(ingestModule,
template.getModuleName()));
56 void prepareForTask(AnalysisResultIngestTask task)
throws IngestPipelineException {
60 void cleanUpAfterTask(AnalysisResultIngestTask task)
throws IngestPipelineException {
68 static final class AnalysisResultIngestPipelineModule extends IngestPipeline.PipelineModule<AnalysisResultIngestTask> {
80 super(module, displayName);
86 AnalysisResult result = task.getAnalysisResult();
static synchronized IngestManager getInstance()
ProcessResult process(AnalysisResult result)