mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-02 19:25:51 +00:00
Work on ingest framework API
This commit is contained in:
@@ -70,7 +70,7 @@ public class IngestConfigurator {
|
||||
// NOTE: In the future, this code will be modified to get the ingest
|
||||
// options for each module for the current context; for now just
|
||||
// get the default ingest options.
|
||||
IngestModuleTemplate moduleTemplate = new IngestModuleTemplate(moduleFactory, moduleFactory.getDefaultPerIngestJobOptions());
|
||||
IngestModuleTemplate moduleTemplate = new IngestModuleTemplate(moduleFactory, moduleFactory.getDefaultIngestOptions());
|
||||
String moduleName = moduleTemplate.getIngestModuleFactory().getModuleDisplayName();
|
||||
if (enabledModuleNames.contains(moduleName)) {
|
||||
moduleTemplate.setEnabled(true);
|
||||
|
||||
@@ -82,7 +82,7 @@ public interface IngestModuleFactory {
|
||||
*
|
||||
* @return The ingest options.
|
||||
*/
|
||||
IngestModuleOptions getDefaultPerIngestJobOptions();
|
||||
IngestModuleOptions getDefaultIngestOptions();
|
||||
|
||||
/**
|
||||
* Queries the factory to determine if it provides user interface panels to
|
||||
|
||||
@@ -34,7 +34,7 @@ public abstract class IngestModuleFactoryAdapter implements IngestModuleFactory
|
||||
public abstract String getModuleVersionNumber();
|
||||
|
||||
@Override
|
||||
public IngestModuleOptions getDefaultPerIngestJobOptions() {
|
||||
public IngestModuleOptions getDefaultIngestOptions() {
|
||||
return new NoIngestOptions();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user