Class RepositoryCreator
- 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 Summary
Fields Modifier and Type Field Description protected org.palladiosimulator.servicelevelobjective.ServicelevelObjectiveFactory
servicelevelObjectiveFactory
protected org.palladiosimulator.servicelevelobjective.ServicelevelObjectivePackage
serviceLevelObjectivePackage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointRepository
createMeasuringPointRepository(IProject project)
Creates a measuringPointRepository named "default.measuringPoint" in a given project.org.palladiosimulator.monitorrepository.MonitorRepository
createMonitorRepository(IProject project)
Creates a monitorRepository named "default.monitorrepository" in the given project.org.palladiosimulator.servicelevelobjective.ServiceLevelObjectiveRepository
createSLORepository(IProject project)
Creates a ServiceLevelObjective Repository named "default.slo" in the given project.static RepositoryCreator
getInstance()
Returns instance of DataRepositoryCreator
-
-
-
Method Detail
-
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
-
-