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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe 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 analyzervoidinit()initialize the analyzerdefault SimpleAnalysisResultCreate 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
-