Class SimpleModelAnalyzer
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.SimpleModelAnalyzer
- All Implemented Interfaces:
ModelAnalyzer<SoMoXConfiguration>
This class runs a component detection based on a GAST input model and returns the results to the
SoMoX core for storing or further processing
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.somox.analyzer.ModelAnalyzer
ModelAnalyzer.Status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyze(SoMoXConfiguration somoxConfiguration, HashMap<String, ExtractionResult> extractionResultMap, IProgressMonitor progressMonitor) Execute the analyzerGet the status from the analyzervoidinit()initialize the analyzerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.somox.analyzer.ModelAnalyzer
initializeAnalysisResult
-
Constructor Details
-
SimpleModelAnalyzer
public SimpleModelAnalyzer()
-
-
Method Details
-
init
public void init()Description copied from interface:ModelAnalyzerinitialize the analyzer- Specified by:
initin interfaceModelAnalyzer<SoMoXConfiguration>
-
analyze
public AnalysisResult analyze(SoMoXConfiguration somoxConfiguration, HashMap<String, ExtractionResult> extractionResultMap, IProgressMonitor progressMonitor) throws ModelAnalyzerExceptionDescription copied from interface:ModelAnalyzerExecute the analyzer- Specified by:
analyzein interfaceModelAnalyzer<SoMoXConfiguration>extractionResultMap- The map of extraction results- Returns:
- The analysis result object
- Throws:
ModelAnalyzerException
-
getStatus
Description copied from interface:ModelAnalyzerGet the status from the analyzer- Specified by:
getStatusin interfaceModelAnalyzer<SoMoXConfiguration>- Returns:
- The current status of the analyzer. Has to be one of the defined status in this interface
-