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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(Message message) Add a message object to the resultorg.palladiosimulator.pcm.allocation.AllocationGet the PCM allocation modelorg.palladiosimulator.pcm.repository.RepositoryGet the resulting internal architectural modelGet a list of all message objects assigned to this resultGet the Model Analyzer that was performedorg.palladiosimulator.pcm.qosannotations.QoSAnnotationsQoS 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.SystemPCM System (outer most component encapsulated).voidsetAllocation(org.palladiosimulator.pcm.allocation.Allocation allocation) voidsetInternalArchitectureModel(org.palladiosimulator.pcm.repository.Repository internalArchitectureModel) voidsetQosAnnotationModel(org.palladiosimulator.pcm.qosannotations.QoSAnnotations qosAnnotationModel) voidsetResultStatus(AnalysisResult.ResultStatus resultStatus) voidThe root contains the analyzed compilation unitsvoidsetSourceCodeDecoratorRepository(SourceCodeDecoratorRepository sourceCodeDecoratorRepository) voidsetSystemModel(org.palladiosimulator.pcm.system.System system)
-
Constructor Details
-
SimpleAnalysisResult
-
-
Method Details
-
getModelAnalyzer
Description copied from interface:AnalysisResultGet the Model Analyzer that was performed- Specified by:
getModelAnalyzerin interfaceAnalysisResult- Returns:
-
getResultStatus
Description copied from interface:AnalysisResultThe result status of the extraction. Will be one of the constants AnalysisResult.ResultStatus- Specified by:
getResultStatusin interfaceAnalysisResult- Returns:
-
getInternalArchitectureModel
public org.palladiosimulator.pcm.repository.Repository getInternalArchitectureModel()Description copied from interface:AnalysisResultGet the resulting internal architectural model- Specified by:
getInternalArchitectureModelin interfaceAnalysisResult- Returns:
-
setInternalArchitectureModel
public void setInternalArchitectureModel(org.palladiosimulator.pcm.repository.Repository internalArchitectureModel) - Parameters:
internalArchitectureModel- the internalArchitectureModel to set
-
getSourceCodeDecoratorRepository
Description copied from interface:AnalysisResultSource code decorator to update- Specified by:
getSourceCodeDecoratorRepositoryin interfaceAnalysisResult- Returns:
-
setSourceCodeDecoratorRepository
public void setSourceCodeDecoratorRepository(SourceCodeDecoratorRepository sourceCodeDecoratorRepository) - Parameters:
sourceCodeDecoratorRepository-
-
addMessage
Description copied from interface:AnalysisResultAdd a message object to the result- Specified by:
addMessagein interfaceAnalysisResult- Parameters:
message- The message object
-
getMessages
Description copied from interface:AnalysisResultGet a list of all message objects assigned to this result- Specified by:
getMessagesin interfaceAnalysisResult- Returns:
-
setResultStatus
- Parameters:
status- the status to set
-
getSystemModel
public org.palladiosimulator.pcm.system.System getSystemModel()Description copied from interface:AnalysisResultPCM System (outer most component encapsulated).- Specified by:
getSystemModelin interfaceAnalysisResult
-
setSystemModel
public void setSystemModel(org.palladiosimulator.pcm.system.System system) -
getQosAnnotationModel
public org.palladiosimulator.pcm.qosannotations.QoSAnnotations getQosAnnotationModel()Description copied from interface:AnalysisResultQoS Annotation model- Specified by:
getQosAnnotationModelin 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:AnalysisResultGet the PCM allocation model- Specified by:
getAllocationin interfaceAnalysisResult- Returns:
- the PCM allocation
-
setRoot
Description copied from interface:AnalysisResultThe root contains the analyzed compilation units- Specified by:
setRootin interfaceAnalysisResult
-
getRoot
Description copied from interface:AnalysisResultget the root that contains all CompilationUnits, that have been analyzed- Specified by:
getRootin interfaceAnalysisResult- Returns:
-