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
  • Method Details

    • init

      void init()
      initialize the analyzer
    • analyze

      AnalysisResult analyze(T moxConfiguration, HashMap<String,ExtractionResult> extractionResultMap, IProgressMonitor progressMonitor) throws ModelAnalyzerException
      Execute the analyzer
      Parameters:
      preferences - The preferences for this analyzer
      somoxConfiguration - Configuration of this analyzer
      extractionResultMap - The map of extraction results
      Returns:
      The analysis result object
      Throws:
      ModelAnalyzerException
    • 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

      default SimpleAnalysisResult initializeAnalysisResult()
      Create an analysis result with newly initialized root models
      Parameters:
      internalArchitectureModel -
      Returns:
      A new analysis result