Class DefaultResourceEnvironment

java.lang.Object
org.somox.util.DefaultResourceEnvironment

public class DefaultResourceEnvironment extends Object
Utility method for creating an empty resource environment where the reconstructed components can be put. Only static access via getDefaultResourceEnvironment()
  • Field Details

  • Method Details

    • getDefaultResourceEnvironment

      public static org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment getDefaultResourceEnvironment()
      Retrieves a cached instance of ResourceEnvironment as created by createDefaultResourceEnvironment().
      Returns:
      A cached instance of resource environment with default values. .
    • getPrimitiveDataTypeInteger

      public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeInteger()
    • getPrimitiveDataTypeDouble

      public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeDouble()
    • getPrimitiveDataTypeBool

      public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeBool()
    • getPrimitiveDataTypeChar

      public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeChar()
    • getPrimitiveDataTypeByte

      public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeByte()
    • getPrimitiveDataTypeString

      public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeString()
    • createDefaultResourceEnvironment

      public static org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment createDefaultResourceEnvironment()
      Creates and returns a new instance of ResourceEnvironment with initial values.
      Returns:
      A new instance of resource environment with default values.
    • getProcessorSharingSchedulingPolicy

      protected static org.palladiosimulator.pcm.resourcetype.SchedulingPolicy getProcessorSharingSchedulingPolicy()
    • getCPUProcessingResourceType

      public static org.palladiosimulator.pcm.resourcetype.ProcessingResourceType getCPUProcessingResourceType()
    • getDelayProcessingResourceType

      public static org.palladiosimulator.pcm.resourcetype.ProcessingResourceType getDelayProcessingResourceType()
    • getPrimitiveTypesRepository

      protected static org.palladiosimulator.pcm.repository.Repository getPrimitiveTypesRepository()
    • getResourceRepository

      protected static org.palladiosimulator.pcm.resourcetype.ResourceRepository getResourceRepository()