java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.builder.AnalysisBuilderData
org.palladiosimulator.dataflow.confidentiality.analysis.builder.pcm.PCMAnalysisBuilderData

public class PCMAnalysisBuilderData extends AnalysisBuilderData
  • Constructor Details

    • PCMAnalysisBuilderData

      public PCMAnalysisBuilderData()
  • Method Details

    • validateData

      public void validateData()
      Validates the saved data
      Overrides:
      validateData in class AnalysisBuilderData
      Throws:
      IllegalStateException - Saved data is invalid
    • createAnalysisData

      public AnalysisData createAnalysisData()
      Creates a new analysis data object from the configured data. It does not check, whether all parameters are set correctly. Use DataFlowConfidentialityAnalysisBuilder instead
      Returns:
      Returns a new data object for the analysis
    • setPluginActivator

      public void setPluginActivator(Class<? extends Plugin> pluginActivator)
      Sets the plugin activator of the project
      Parameters:
      pluginActivator - Eclipse plugin activator class
    • getPluginActivator

      public Class<? extends Plugin> getPluginActivator()
      Returns the plugin activator of the project
      Returns:
      Eclipse plugin activator class of the project
    • setLegacy

      public void setLegacy(boolean legacy)
      Sets the legacy mode of the analysis to allow the loading of EMF Profiles
      Parameters:
      legacy - New value of the legacy mode
    • isLegacy

      public boolean isLegacy()
      Returns, whether or not the analysis is in legacy mode
      Returns:
      Returns true, if the analysis is in legacy mode and EMF Profiles are loaded. Otherwise, the method returns false
    • setRelativeUsageModelPath

      public void setRelativeUsageModelPath(String relativeUsageModelPath)
      Sets the relative path to the usage model used in the analysis
      Parameters:
      relativeUsageModelPath - Relative path to the usage model
    • getRelativeUsageModelPath

      public String getRelativeUsageModelPath()
      Returns the configured relative path to the usage model of the analysis
      Returns:
      Relative path to the usage model
    • setRelativeAllocationModelPath

      public void setRelativeAllocationModelPath(String relativeAllocationModelPath)
      Sets the relative path to the allocation model used in the analysis
      Parameters:
      relativeAllocationModelPath - Relative path to the allocation model
    • getRelativeAllocationModelPath

      public String getRelativeAllocationModelPath()
      Returns the configured relative path to the allocation model
      Returns:
      Relative path to the allocation model
    • setRelativeNodeCharacteristicsPath

      public void setRelativeNodeCharacteristicsPath(String relativeNodeCharacteristicsPath)
      Sets the relative path to the node characteristics model that is used in the analysis
      Parameters:
      relativeNodeCharacteristicsPath - Relative path to the node characteristics model
    • getRelativeNodeCharacteristicsPath

      public String getRelativeNodeCharacteristicsPath()
      Returns the relative path to the node characteristics model the analysis is configured to use
      Returns:
      Relative path to the node characteristcs model
    • addResource

      public void addResource(Resource resource)
      Adds the given resource to the list of saved resources that are used in the analysis
      Parameters:
      resource - Resource that should be added to the loaded resources
    • getResources

      public List<Resource> getResources()
      Returns the list of saved resources that are used in the analysis
      Returns:
      Returns a list of resources that were registered