Interface SoMoXCore

All Known Implementing Classes:
SoMoXCoreStandard

public interface SoMoXCore
  • Method Details

    • addSoftwareExtractor

      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
      Parameters:
      id - The identifier for the extractor instance
      extractor - The Software Extractor to be executed. If null is handed over nothing is added to the stack
    • removeSoftwareExtractor

      void removeSoftwareExtractor(String id)
      Remove the Software Extractor instance with the given identifier from the process stack
      Parameters:
      id - The internal id of the extractor
    • addModelAnalyzer

      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
      Parameters:
      id - The identifier for the analyzer instance
      analyzer - The Model Analyzer to be executed. If null is handed over nothing is added to the stack
    • removeModelAnalyzer

      void removeModelAnalyzer(String id)
      Remove the Model Analyzer instance with the given identifier from the process stack
      Parameters:
      id - The internal id of the analyzer
    • runExtraction

      void runExtraction(IProgressMonitor progressMonitor, HashMap<String,String> preferences)
      Execute all software extractors
      Parameters:
      progressMonitor - A listener object for the process status
      preferences -
    • runAnalyzer

      AnalysisResult runAnalyzer(String analyzerID, IProgressMonitor progressMonitor, HashMap<String,String> globalpreferences, SoMoXConfiguration somoxConfiguration) throws ModelAnalyzerException
      Execute the configured analyzer
      Parameters:
      progressMonitor - A listener object for the process status
      preferences - Preferences for the analysis
      Throws:
      ModelAnalyzerException
    • runExport

      void runExport(IProgressMonitor progressMonitor)
      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: