Package org.somox.core.impl
Class SoMoXCoreStandard
java.lang.Object
org.somox.core.impl.SoMoXCoreStandard
- All Implemented Interfaces:
SoMoXCore
Standard Implementation of the SoMoX Core.
-
Constructor Summary
ConstructorDescriptionDefault constructor preparing the ecore resource setSoMoXCoreStandard
(HashMap<String, ModelAnalyzer> modelAnalyzerMap) use the provided modelAnalyzer map as additonal possible model analyzers -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModelAnalyzer
(String id, ModelAnalyzer analyzer) Add a Model Analyzer to the stack that should be executed Already existing Analyzer instances with the same id will be overriddenvoid
addSoftwareExtractor
(String id, SoftwareExtractor extractor) Add a Software Extractor to the stack that should be executed Already existing Extractor instances with the same id will be overriddenGet the list of configuration definitionsGet the software extractors which have been successfully performedGet the list of configuration definitionsvoid
Remove the Model Analyzer instance with the given identifier from the process stackvoid
Remove the Software Extractor instance with the given identifier from the process stackrunAnalyzer
(String analyzerID, IProgressMonitor progressMonitor, HashMap<String, String> preferences, SoMoXConfiguration somoxConfiguration) Execute the configured analyzervoid
runExport
(IProgressMonitor progressMonitor) Execute the configured exportvoid
runExtraction
(IProgressMonitor progressMonitor, HashMap<String, String> preferences) Execute all software extractors
-
Constructor Details
-
SoMoXCoreStandard
public SoMoXCoreStandard()Default constructor preparing the ecore resource set -
SoMoXCoreStandard
use the provided modelAnalyzer map as additonal possible model analyzers- Parameters:
modelAnalyzerMap
-
-
-
Method Details
-
runExtraction
Description copied from interface:SoMoXCore
Execute all software extractors- Specified by:
runExtraction
in interfaceSoMoXCore
- Parameters:
progressMonitor
- A listener object for the process status
-
runAnalyzer
public AnalysisResult runAnalyzer(String analyzerID, IProgressMonitor progressMonitor, HashMap<String, String> preferences, SoMoXConfiguration somoxConfiguration) throws ModelAnalyzerExceptionDescription copied from interface:SoMoXCore
Execute the configured analyzer- Specified by:
runAnalyzer
in interfaceSoMoXCore
progressMonitor
- A listener object for the process status- Throws:
ModelAnalyzerException
-
runExport
Description copied from interface:SoMoXCore
Execute the configured export -
addSoftwareExtractor
Description copied from interface:SoMoXCore
Add a Software Extractor to the stack that should be executed Already existing Extractor instances with the same id will be overridden- Specified by:
addSoftwareExtractor
in interfaceSoMoXCore
- Parameters:
id
- The identifier for the extractor instanceextractor
- The Software Extractor to be executed. If null is handed over nothing is added to the stack
-
removeSoftwareExtractor
Description copied from interface:SoMoXCore
Remove the Software Extractor instance with the given identifier from the process stack- Specified by:
removeSoftwareExtractor
in interfaceSoMoXCore
- Parameters:
id
- The internal id of the extractor
-
addModelAnalyzer
Description copied from interface:SoMoXCore
Add a Model Analyzer to the stack that should be executed Already existing Analyzer instances with the same id will be overridden- Specified by:
addModelAnalyzer
in interfaceSoMoXCore
- Parameters:
id
- The identifier for the analyzer instanceanalyzer
- The Model Analyzer to be executed. If null is handed over nothing is added to the stack
-
removeModelAnalyzer
Description copied from interface:SoMoXCore
Remove the Model Analyzer instance with the given identifier from the process stack- Specified by:
removeModelAnalyzer
in interfaceSoMoXCore
- Parameters:
id
- The internal id of the analyzer
-
getExecutedSoftwareExtractors
Description copied from interface:SoMoXCore
Get the software extractors which have been successfully performed- Specified by:
getExecutedSoftwareExtractors
in interfaceSoMoXCore
-
getConfigurationDefinitions
Description copied from interface:SoMoXCore
Get the list of configuration definitions- Specified by:
getConfigurationDefinitions
in interfaceSoMoXCore
- Returns:
-
getGlobalConfigurationDefinitions
Description copied from interface:SoMoXCore
Get the list of configuration definitions- Specified by:
getGlobalConfigurationDefinitions
in interfaceSoMoXCore
- Returns:
-