Package org.somox.analyzer
Interface ModelAnalyzer<T extends AbstractMoxConfiguration>
- All Known Implementing Classes:
AnnotationsMoxAnalyzer
,SimpleModelAnalyzer
public interface ModelAnalyzer<T extends AbstractMoxConfiguration>
Interface for Analyzer extensions to be accessed from the SoMoX core
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The result status of the model analyzer -
Method Summary
Modifier and TypeMethodDescriptionanalyze
(T moxConfiguration, HashMap<String, ExtractionResult> extractionResultMap, IProgressMonitor progressMonitor) Execute the analyzerGet the status from the analyzervoid
init()
initialize the analyzerdefault SimpleAnalysisResult
Create an analysis result with newly initialized root models
-
Method Details
-
init
void init()initialize the analyzer -
analyze
AnalysisResult analyze(T moxConfiguration, HashMap<String, ExtractionResult> extractionResultMap, IProgressMonitor progressMonitor) throws ModelAnalyzerExceptionExecute the analyzer- Parameters:
preferences
- The preferences for this analyzersomoxConfiguration
- Configuration of this analyzerextractionResultMap
- The map of extraction results- Returns:
- The analysis result object
- Throws:
ModelAnalyzerException
-
getStatus
ModelAnalyzer.Status getStatus()Get the status from the analyzer- Returns:
- The current status of the analyzer. Has to be one of the defined status in this interface
-
initializeAnalysisResult
Create an analysis result with newly initialized root models- Parameters:
internalArchitectureModel
-- Returns:
- A new analysis result
-