Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager Class Reference

Private Member Functions

IngestJobSettings getDefaultIngestConfig (String caseName)
 
Pair< IngestJobSettings, ConfigurationModule<?> > runConfigurationModule (IngestJobSettings curConfig, ParameterizedResourceConfig configModule)
 

Static Private Attributes

static final ConfigDeserializer configDeserializer = new ConfigDeserializer()
 
static final Set< String > DEFAULT_EXCLUDED_MODULES = Stream.of("Plaso").collect(Collectors.toSet())
 
static final IngestJobSettings.IngestType DEFAULT_INGEST_FILTER_TYPE = IngestJobSettings.IngestType.ALL_MODULES
 
static final IngestModuleFactoryService ingestModuleFactories = new IngestModuleFactoryService()
 
static final Logger logger = Logger.getLogger(ConfigurationModuleManager.class.getName())
 

Detailed Description

In charge of running configuration modules to set up the environment and then running revert when the test completes.

Definition at line 43 of file ConfigurationModuleManager.java.

Member Function Documentation

IngestJobSettings org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager.getDefaultIngestConfig ( String  caseName)
private

Returns a default IngestJobSettings object in the event that no configuration modules are specified.

Parameters
caseNameThe name of the case used for the profile name of the settings.
Returns
The default ingest job settings.

Definition at line 89 of file ConfigurationModuleManager.java.

References org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager.DEFAULT_INGEST_FILTER_TYPE, and org.sleuthkit.autopsy.integrationtesting.IngestModuleFactoryService.getFactories().

Pair<IngestJobSettings, ConfigurationModule<?> > org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager.runConfigurationModule ( IngestJobSettings  curConfig,
ParameterizedResourceConfig  configModule 
)
private

Run a configuration module as specified by the paramerized resource config returning the acquired configuration module and the updated ingest job settings.

Parameters
curConfigThe current ingest job settings.
configModuleThe resource identifying the config module and any accompanying parameters.
Returns
A tuple containing the ingest job settings and the instantiated configuration module that generated changes (used later for reverting).

Definition at line 149 of file ConfigurationModuleManager.java.

References org.sleuthkit.autopsy.integrationtesting.config.ParameterizedResourceConfig.getParameters(), and org.sleuthkit.autopsy.integrationtesting.config.ParameterizedResourceConfig.getResource().

Member Data Documentation

final ConfigDeserializer org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager.configDeserializer = new ConfigDeserializer()
staticprivate

Definition at line 50 of file ConfigurationModuleManager.java.

final Set<String> org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager.DEFAULT_EXCLUDED_MODULES = Stream.of("Plaso").collect(Collectors.toSet())
staticprivate

Definition at line 49 of file ConfigurationModuleManager.java.

final IngestJobSettings.IngestType org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager.DEFAULT_INGEST_FILTER_TYPE = IngestJobSettings.IngestType.ALL_MODULES
staticprivate
final IngestModuleFactoryService org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager.ingestModuleFactories = new IngestModuleFactoryService()
staticprivate

Definition at line 45 of file ConfigurationModuleManager.java.

final Logger org.sleuthkit.autopsy.integrationtesting.ConfigurationModuleManager.logger = Logger.getLogger(ConfigurationModuleManager.class.getName())
staticprivate

Definition at line 46 of file ConfigurationModuleManager.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Sat Sep 24 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.