public interface SoMoXCore
| Modifier and Type | Method and Description |
|---|---|
void |
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 overridden
|
void |
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 overridden
|
LinkedList<ConfigurationDefinition> |
getConfigurationDefinitions()
Get the list of configuration definitions
|
List<SoftwareExtractor> |
getExecutedSoftwareExtractors()
Get the software extractors which have been successfully performed
|
LinkedList<ConfigurationDefinition> |
getGlobalConfigurationDefinitions()
Get the list of configuration definitions
|
void |
removeModelAnalyzer(String id)
Remove the Model Analyzer instance with the given identifier
from the process stack
|
void |
removeSoftwareExtractor(String id)
Remove the Software Extractor instance with the given identifier
from the process stack
|
AnalysisResult |
runAnalyzer(String analyzerID,
org.eclipse.core.runtime.IProgressMonitor progressMonitor,
HashMap<String,String> globalpreferences,
SoMoXConfiguration somoxConfiguration)
Execute the configured analyzer
|
void |
runExport(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Execute the configured export
|
void |
runExtraction(org.eclipse.core.runtime.IProgressMonitor progressMonitor,
HashMap<String,String> preferences)
Execute all software extractors
|
void addSoftwareExtractor(String id, SoftwareExtractor extractor)
id - The identifier for the extractor instanceextractor - The Software Extractor to be executed.
If null is handed over nothing is added to the stackvoid removeSoftwareExtractor(String id)
id - The internal id of the extractorvoid addModelAnalyzer(String id, ModelAnalyzer analyzer)
id - The identifier for the analyzer instanceanalyzer - The Model Analyzer to be executed.
If null is handed over nothing is added to the stackvoid removeModelAnalyzer(String id)
id - The internal id of the analyzervoid runExtraction(org.eclipse.core.runtime.IProgressMonitor progressMonitor,
HashMap<String,String> preferences)
progressMonitor - A listener object for the process statuspreferences - AnalysisResult runAnalyzer(String analyzerID, org.eclipse.core.runtime.IProgressMonitor progressMonitor, HashMap<String,String> globalpreferences, SoMoXConfiguration somoxConfiguration) throws ModelAnalyzerException
progressMonitor - A listener object for the process statuspreferences - Preferences for the analysisModelAnalyzerExceptionvoid runExport(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
progressMonitor - A listener object for the process statusList<SoftwareExtractor> getExecutedSoftwareExtractors()
LinkedList<ConfigurationDefinition> getConfigurationDefinitions()
LinkedList<ConfigurationDefinition> getGlobalConfigurationDefinitions()