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
-
Method Summary
Modifier and TypeMethodDescriptionanalyze
(SoMoXConfiguration somoxConfiguration, HashMap<String, ExtractionResult> extractionResultMap, IProgressMonitor progressMonitor) Execute the analyzerGet the status from the analyzervoid
init()
initialize the analyzerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.somox.analyzer.ModelAnalyzer
initializeAnalysisResult
-
Constructor Details
-
SimpleModelAnalyzer
public SimpleModelAnalyzer()
-
-
Method Details
-
init
public void init()Description copied from interface:ModelAnalyzer
initialize the analyzer- Specified by:
init
in interfaceModelAnalyzer<SoMoXConfiguration>
-
analyze
public AnalysisResult analyze(SoMoXConfiguration somoxConfiguration, HashMap<String, ExtractionResult> extractionResultMap, IProgressMonitor progressMonitor) throws ModelAnalyzerExceptionDescription copied from interface:ModelAnalyzer
Execute the analyzer- Specified by:
analyze
in interfaceModelAnalyzer<SoMoXConfiguration>
extractionResultMap
- The map of extraction results- Returns:
- The analysis result object
- Throws:
ModelAnalyzerException
-
getStatus
Description copied from interface:ModelAnalyzer
Get the status from the analyzer- Specified by:
getStatus
in interfaceModelAnalyzer<SoMoXConfiguration>
- Returns:
- The current status of the analyzer. Has to be one of the defined status in this interface
-