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
ConstructorsConstructorDescriptionDefault constructor preparing the ecore resource setSoMoXCoreStandard(HashMap<String, ModelAnalyzer> modelAnalyzerMap) use the provided modelAnalyzer map as additonal possible model analyzers -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModelAnalyzer(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 overriddenvoidaddSoftwareExtractor(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 definitionsvoidRemove the Model Analyzer instance with the given identifier from the process stackvoidRemove 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 analyzervoidrunExport(IProgressMonitor progressMonitor) Execute the configured exportvoidrunExtraction(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:SoMoXCoreExecute all software extractors- Specified by:
runExtractionin 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:SoMoXCoreExecute the configured analyzer- Specified by:
runAnalyzerin interfaceSoMoXCoreprogressMonitor- A listener object for the process status- Throws:
ModelAnalyzerException
-
runExport
Description copied from interface:SoMoXCoreExecute the configured export -
addSoftwareExtractor
Description copied from interface:SoMoXCoreAdd a Software Extractor to the stack that should be executed Already existing Extractor instances with the same id will be overridden- Specified by:
addSoftwareExtractorin 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:SoMoXCoreRemove the Software Extractor instance with the given identifier from the process stack- Specified by:
removeSoftwareExtractorin interfaceSoMoXCore- Parameters:
id- The internal id of the extractor
-
addModelAnalyzer
Description copied from interface:SoMoXCoreAdd a Model Analyzer to the stack that should be executed Already existing Analyzer instances with the same id will be overridden- Specified by:
addModelAnalyzerin 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:SoMoXCoreRemove the Model Analyzer instance with the given identifier from the process stack- Specified by:
removeModelAnalyzerin interfaceSoMoXCore- Parameters:
id- The internal id of the analyzer
-
getExecutedSoftwareExtractors
Description copied from interface:SoMoXCoreGet the software extractors which have been successfully performed- Specified by:
getExecutedSoftwareExtractorsin interfaceSoMoXCore
-
getConfigurationDefinitions
Description copied from interface:SoMoXCoreGet the list of configuration definitions- Specified by:
getConfigurationDefinitionsin interfaceSoMoXCore- Returns:
-
getGlobalConfigurationDefinitions
Description copied from interface:SoMoXCoreGet the list of configuration definitions- Specified by:
getGlobalConfigurationDefinitionsin interfaceSoMoXCore- Returns:
-