Package org.somox.analyzer
Class SimpleAnalysisResult
java.lang.Object
org.somox.analyzer.SimpleAnalysisResult
- All Implemented Interfaces:
AnalysisResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.somox.analyzer.AnalysisResult
AnalysisResult.ResultStatus
-
Constructor Summary
-
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
setAllocation
(org.palladiosimulator.pcm.allocation.Allocation allocation) void
setInternalArchitectureModel
(org.palladiosimulator.pcm.repository.Repository internalArchitectureModel) void
setQosAnnotationModel
(org.palladiosimulator.pcm.qosannotations.QoSAnnotations qosAnnotationModel) void
setResultStatus
(AnalysisResult.ResultStatus resultStatus) void
The root contains the analyzed compilation unitsvoid
setSourceCodeDecoratorRepository
(SourceCodeDecoratorRepository sourceCodeDecoratorRepository) void
setSystemModel
(org.palladiosimulator.pcm.system.System system)
-
Constructor Details
-
SimpleAnalysisResult
-
-
Method Details
-
getModelAnalyzer
Description copied from interface:AnalysisResult
Get the Model Analyzer that was performed- Specified by:
getModelAnalyzer
in interfaceAnalysisResult
- Returns:
-
getResultStatus
Description copied from interface:AnalysisResult
The result status of the extraction. Will be one of the constants AnalysisResult.ResultStatus- Specified by:
getResultStatus
in interfaceAnalysisResult
- Returns:
-
getInternalArchitectureModel
public org.palladiosimulator.pcm.repository.Repository getInternalArchitectureModel()Description copied from interface:AnalysisResult
Get the resulting internal architectural model- Specified by:
getInternalArchitectureModel
in interfaceAnalysisResult
- Returns:
-
setInternalArchitectureModel
public void setInternalArchitectureModel(org.palladiosimulator.pcm.repository.Repository internalArchitectureModel) - Parameters:
internalArchitectureModel
- the internalArchitectureModel to set
-
getSourceCodeDecoratorRepository
Description copied from interface:AnalysisResult
Source code decorator to update- Specified by:
getSourceCodeDecoratorRepository
in interfaceAnalysisResult
- Returns:
-
setSourceCodeDecoratorRepository
public void setSourceCodeDecoratorRepository(SourceCodeDecoratorRepository sourceCodeDecoratorRepository) - Parameters:
sourceCodeDecoratorRepository
-
-
addMessage
Description copied from interface:AnalysisResult
Add a message object to the result- Specified by:
addMessage
in interfaceAnalysisResult
- Parameters:
message
- The message object
-
getMessages
Description copied from interface:AnalysisResult
Get a list of all message objects assigned to this result- Specified by:
getMessages
in interfaceAnalysisResult
- Returns:
-
setResultStatus
- Parameters:
status
- the status to set
-
getSystemModel
public org.palladiosimulator.pcm.system.System getSystemModel()Description copied from interface:AnalysisResult
PCM System (outer most component encapsulated).- Specified by:
getSystemModel
in interfaceAnalysisResult
-
setSystemModel
public void setSystemModel(org.palladiosimulator.pcm.system.System system) -
getQosAnnotationModel
public org.palladiosimulator.pcm.qosannotations.QoSAnnotations getQosAnnotationModel()Description copied from interface:AnalysisResult
QoS Annotation model- Specified by:
getQosAnnotationModel
in interfaceAnalysisResult
-
setQosAnnotationModel
public void setQosAnnotationModel(org.palladiosimulator.pcm.qosannotations.QoSAnnotations qosAnnotationModel) -
setAllocation
public void setAllocation(org.palladiosimulator.pcm.allocation.Allocation allocation) -
getAllocation
public org.palladiosimulator.pcm.allocation.Allocation getAllocation()Description copied from interface:AnalysisResult
Get the PCM allocation model- Specified by:
getAllocation
in interfaceAnalysisResult
- Returns:
- the PCM allocation
-
setRoot
Description copied from interface:AnalysisResult
The root contains the analyzed compilation units- Specified by:
setRoot
in interfaceAnalysisResult
-
getRoot
Description copied from interface:AnalysisResult
get the root that contains all CompilationUnits, that have been analyzed- Specified by:
getRoot
in interfaceAnalysisResult
- Returns:
-