Class SimpleAnalysisResult

java.lang.Object
org.somox.analyzer.SimpleAnalysisResult
All Implemented Interfaces:
AnalysisResult

public class SimpleAnalysisResult extends Object implements AnalysisResult
  • Constructor Details

    • SimpleAnalysisResult

      public SimpleAnalysisResult(ModelAnalyzer analyzer)
  • Method Details

    • getModelAnalyzer

      public ModelAnalyzer getModelAnalyzer()
      Description copied from interface: AnalysisResult
      Get the Model Analyzer that was performed
      Specified by:
      getModelAnalyzer in interface AnalysisResult
      Returns:
    • getResultStatus

      public AnalysisResult.ResultStatus getResultStatus()
      Description copied from interface: AnalysisResult
      The result status of the extraction. Will be one of the constants AnalysisResult.ResultStatus
      Specified by:
      getResultStatus in interface AnalysisResult
      Returns:
    • getInternalArchitectureModel

      public org.palladiosimulator.pcm.repository.Repository getInternalArchitectureModel()
      Description copied from interface: AnalysisResult
      Get the resulting internal architectural model
      Specified by:
      getInternalArchitectureModel in interface AnalysisResult
      Returns:
    • setInternalArchitectureModel

      public void setInternalArchitectureModel(org.palladiosimulator.pcm.repository.Repository internalArchitectureModel)
      Parameters:
      internalArchitectureModel - the internalArchitectureModel to set
    • getSourceCodeDecoratorRepository

      public SourceCodeDecoratorRepository getSourceCodeDecoratorRepository()
      Description copied from interface: AnalysisResult
      Source code decorator to update
      Specified by:
      getSourceCodeDecoratorRepository in interface AnalysisResult
      Returns:
    • setSourceCodeDecoratorRepository

      public void setSourceCodeDecoratorRepository(SourceCodeDecoratorRepository sourceCodeDecoratorRepository)
      Parameters:
      sourceCodeDecoratorRepository -
    • addMessage

      public void addMessage(Message message)
      Description copied from interface: AnalysisResult
      Add a message object to the result
      Specified by:
      addMessage in interface AnalysisResult
      Parameters:
      message - The message object
    • getMessages

      public List<Message> getMessages()
      Description copied from interface: AnalysisResult
      Get a list of all message objects assigned to this result
      Specified by:
      getMessages in interface AnalysisResult
      Returns:
    • setResultStatus

      public void setResultStatus(AnalysisResult.ResultStatus resultStatus)
      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 interface AnalysisResult
    • 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 interface AnalysisResult
    • 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 interface AnalysisResult
      Returns:
      the PCM allocation
    • setRoot

      public void setRoot(Root root)
      Description copied from interface: AnalysisResult
      The root contains the analyzed compilation units
      Specified by:
      setRoot in interface AnalysisResult
    • getRoot

      public Root getRoot()
      Description copied from interface: AnalysisResult
      get the root that contains all CompilationUnits, that have been analyzed
      Specified by:
      getRoot in interface AnalysisResult
      Returns: