Class PCMInstance


  • public class PCMInstance
    extends Object
    • Constructor Detail

      • PCMInstance

        public PCMInstance​(Properties config)
      • PCMInstance

        public PCMInstance​(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition pcmModel)
    • Method Detail

      • getAllocation

        public org.palladiosimulator.pcm.allocation.Allocation getAllocation()
      • getRepositories

        public List<org.palladiosimulator.pcm.repository.Repository> getRepositories()
      • getResourceEnvironment

        public org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment getResourceEnvironment()
      • getResourceRepository

        public org.palladiosimulator.pcm.resourcetype.ResourceRepository getResourceRepository()
      • getSystem

        public org.palladiosimulator.pcm.system.System getSystem()
      • getUsageModel

        public org.palladiosimulator.pcm.usagemodel.UsageModel getUsageModel()
      • saveToFiles

        public void saveToFiles​(String fileNamePrefix)
      • saveToXMIFile

        public void saveToXMIFile​(EObject modelToSave,
                                  String fileName)
      • isValid

        public boolean isValid()
      • getUsedResourceContainer

        public Set<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer> getUsedResourceContainer()
        Get the used ResourceContainers. These are all resource containers that are references from ComputedAllocationContexts inside the ComputedAllocation. If the ComputedAllocation has not yet been calculated, this method returns all resource containers.
        Returns:
        A set of all used resource containers. Each container is just contained once.
      • getComputedAggregatedUsage

        public ComputedAggregatedUsage getComputedAggregatedUsage()
        Returns:
        the computedAggregatedUsage
      • resetComputedContexts

        public void resetComputedContexts()