Package org.somox.core
Interface SoMoXCore
- All Known Implementing Classes:
SoMoXCoreStandard
public interface SoMoXCore
-
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> globalpreferences, SoMoXConfiguration somoxConfiguration) Execute the configured analyzervoid
runExport
(IProgressMonitor progressMonitor) Execute the configured exportvoid
runExtraction
(IProgressMonitor progressMonitor, HashMap<String, String> preferences) Execute all software extractors
-
Method Details
-
addSoftwareExtractor
Add a Software Extractor to the stack that should be executed Already existing Extractor instances with the same id will be overridden- 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
Remove the Software Extractor instance with the given identifier from the process stack- Parameters:
id
- The internal id of the extractor
-
addModelAnalyzer
Add a Model Analyzer to the stack that should be executed Already existing Analyzer instances with the same id will be overridden- 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
Remove the Model Analyzer instance with the given identifier from the process stack- Parameters:
id
- The internal id of the analyzer
-
runExtraction
Execute all software extractors- Parameters:
progressMonitor
- A listener object for the process statuspreferences
-
-
runAnalyzer
AnalysisResult runAnalyzer(String analyzerID, IProgressMonitor progressMonitor, HashMap<String, String> globalpreferences, SoMoXConfiguration somoxConfiguration) throws ModelAnalyzerExceptionExecute the configured analyzer- Parameters:
progressMonitor
- A listener object for the process statuspreferences
- Preferences for the analysis- Throws:
ModelAnalyzerException
-
runExport
Execute the configured export- Parameters:
progressMonitor
- A listener object for the process status
-
getExecutedSoftwareExtractors
List<SoftwareExtractor> getExecutedSoftwareExtractors()Get the software extractors which have been successfully performed -
getConfigurationDefinitions
LinkedList<ConfigurationDefinition> getConfigurationDefinitions()Get the list of configuration definitions- Returns:
-
getGlobalConfigurationDefinitions
LinkedList<ConfigurationDefinition> getGlobalConfigurationDefinitions()Get the list of configuration definitions- Returns:
-