The Sleuth Kit Framework
4.1
|
Responsible for creation and destruction of of TskPipeline objects. More...
#include <TskPipelineManager.h>
Public Types | |
enum | PIPELINE_TYPE { FILE_ANALYSIS_PIPELINE, POST_PROCESSING_PIPELINE } |
Supported pipeline types. More... | |
Public Member Functions | |
TskPipeline * | createPipeline (const std::string &pipelineType) |
Creates a pipeline object by reading the pipeline config file specified as a system property. More... | |
TskPipeline * | createPipeline (const PIPELINE_TYPE type, const std::string &name="") |
Create a pipeline of the given type and optionally a given name. More... | |
Static Public Attributes | |
static const std::string | FILE_ANALYSIS_PIPELINE_STR = "FileAnalysis" |
String to use in pipeline configuration file when creating a file analysis pipeline. | |
static const std::string | PIPELINE_ELEMENT = "PIPELINE" |
String to use in pipeline configuration file when creating a pipeline element. | |
static const std::string | PIPELINE_NAME_ATTRIBUTE = "name" |
Attribute in PIPELINE_ELEMENT for optional pipeline name in config XML file. | |
static const std::string | PIPELINE_TYPE_ATTRIBUTE = "type" |
Attribute in PIPELINE_ELEMENT for pipeline type in config XML file. | |
static const std::string | POST_PROCESSING_PIPELINE_STR = "PostProcessing" |
String to use in pipeline configuration file when creating a post processing pipeline. | |
static const std::string | REPORTING_PIPELINE_STR = "Report" |
Deprecated: String to use in pipeline configuration file when creating a post processing pipeline. | |
Responsible for creation and destruction of of TskPipeline objects.
This class is responsible for reading the pipeline configuration file.
TskPipeline * TskPipelineManager::createPipeline | ( | const std::string & | pipelineType) |
Creates a pipeline object by reading the pipeline config file specified as a system property.
References FILE_ANALYSIS_PIPELINE, FILE_ANALYSIS_PIPELINE_STR, POST_PROCESSING_PIPELINE, POST_PROCESSING_PIPELINE_STR, and REPORTING_PIPELINE_STR.
TskPipeline * TskPipelineManager::createPipeline | ( | const PIPELINE_TYPE | type, |
const std::string & | name = "" |
||
) |
Create a pipeline of the given type and optionally a given name.
type | The type of pipeline to create |
name | An optional string to disambiguate the situation where there are multiple pipelines of the same type. |
References FILE_ANALYSIS_PIPELINE, TskPipeline::initialize(), LOGINFO, TskSystemProperties::PIPELINE_CONFIG_FILE, PIPELINE_ELEMENT, PIPELINE_NAME_ATTRIBUTE, PIPELINE_TYPE_ATTRIBUTE, POST_PROCESSING_PIPELINE, POST_PROCESSING_PIPELINE_STR, and REPORTING_PIPELINE_STR.
Copyright © 2011-2013 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.