Package org.somox.analyzer
Interface AnalysisResult
- All Known Implementing Classes:
SimpleAnalysisResult
public interface AnalysisResult
The result of an analysis iteration.
This result object contains all information about the last model analyzer result like the status
or the analyzed model
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The result status of the analysis step -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(Message message) Add a message object to the resultorg.palladiosimulator.pcm.allocation.Allocation
Get the PCM allocation modelorg.palladiosimulator.pcm.repository.Repository
Get the resulting internal architectural modelGet a list of all message objects assigned to this resultGet the Model Analyzer that was performedorg.palladiosimulator.pcm.qosannotations.QoSAnnotations
QoS Annotation modelThe result status of the extraction.getRoot()
get the root that contains all CompilationUnits, that have been analyzedSource code decorator to updateorg.palladiosimulator.pcm.system.System
PCM System (outer most component encapsulated).void
The root contains the analyzed compilation units
-
Method Details
-
getResultStatus
AnalysisResult.ResultStatus getResultStatus()The result status of the extraction. Will be one of the constants AnalysisResult.ResultStatus- Returns:
- The status of the analysis
-
getAllocation
org.palladiosimulator.pcm.allocation.Allocation getAllocation()Get the PCM allocation model- Returns:
- the PCM allocation
-
getModelAnalyzer
ModelAnalyzer getModelAnalyzer()Get the Model Analyzer that was performed- Returns:
- The model analyzer that has been executed
-
getInternalArchitectureModel
org.palladiosimulator.pcm.repository.Repository getInternalArchitectureModel()Get the resulting internal architectural model- Returns:
- PCM model repository.
-
getSourceCodeDecoratorRepository
SourceCodeDecoratorRepository getSourceCodeDecoratorRepository()Source code decorator to update- Returns:
-
getSystemModel
org.palladiosimulator.pcm.system.System getSystemModel()PCM System (outer most component encapsulated). -
getQosAnnotationModel
org.palladiosimulator.pcm.qosannotations.QoSAnnotations getQosAnnotationModel()QoS Annotation model -
addMessage
Add a message object to the result- Parameters:
message
- The message object
-
getMessages
Get a list of all message objects assigned to this result- Returns:
- List of all assigned message objects
-
setRoot
The root contains the analyzed compilation units- Parameters:
root
-
-
getRoot
Root getRoot()get the root that contains all CompilationUnits, that have been analyzed- Returns:
-