java.lang.Object
org.palladiosimulator.measurementsui.datamanipulation.RepositoryCreator

public final class RepositoryCreator extends Object
This class can be used to create monitor- and measuringPointRepositories in a given project. They will be created as default emf model instances.
  • Field Details

    • serviceLevelObjectivePackage

      protected org.palladiosimulator.servicelevelobjective.ServicelevelObjectivePackage serviceLevelObjectivePackage
    • servicelevelObjectiveFactory

      protected org.palladiosimulator.servicelevelobjective.ServicelevelObjectiveFactory servicelevelObjectiveFactory
  • Method Details

    • getInstance

      public static RepositoryCreator getInstance()
      Returns instance of DataRepositoryCreator
      Returns:
      instance of DataRepositoryCreator
    • createMeasuringPointRepository

      public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointRepository createMeasuringPointRepository(IProject project)
      Creates a measuringPointRepository named "default.measuringPoint" in a given project.
      Parameters:
      project - to create the measuringPointRepository in
      Returns:
      created MeasuringPointRepository
    • createMonitorRepository

      public org.palladiosimulator.monitorrepository.MonitorRepository createMonitorRepository(IProject project)
      Creates a monitorRepository named "default.monitorrepository" in the given project.
      Parameters:
      project - to create monitorRepository in
      Returns:
      created MonitorRepository
    • createSLORepository

      public org.palladiosimulator.servicelevelobjective.ServiceLevelObjectiveRepository createSLORepository(IProject project)
      Creates a ServiceLevelObjective Repository named "default.slo" in the given project.
      Parameters:
      project - to create ServiceLevelObjective Repository in
      Returns:
      created ServiceLevelObjective Repository