19 package org.sleuthkit.autopsy.integrationtesting;
21 import java.util.ArrayList;
22 import java.util.Collection;
23 import java.util.List;
25 import java.util.stream.Collectors;
26 import java.util.stream.Stream;
27 import org.openide.util.Lookup;
46 Stream<Collection<? extends IngestModuleFactory>> factoryCollections = Stream.of(
52 Map<String, IngestModuleFactory> factories = factoryCollections
53 .flatMap(coll -> coll.stream())
54 .collect(Collectors.toMap(f -> f.getModuleDisplayName(), f -> f, (f1, f2) -> f1));
57 return new ArrayList<>(factories.values());
static synchronized List< IngestModuleFactory > getIngestModuleFactories()
List< IngestModuleFactory > getFactories()