Class RepositoryCreator
java.lang.Object
org.palladiosimulator.measurementsui.datamanipulation.RepositoryCreator
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
Modifier and TypeFieldDescriptionprotected org.palladiosimulator.servicelevelobjective.ServicelevelObjectiveFactory
protected org.palladiosimulator.servicelevelobjective.ServicelevelObjectivePackage
-
Method Summary
Modifier and TypeMethodDescriptionorg.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
Returns instance of DataRepositoryCreator
-
Field Details
-
serviceLevelObjectivePackage
protected org.palladiosimulator.servicelevelobjective.ServicelevelObjectivePackage serviceLevelObjectivePackage -
servicelevelObjectiveFactory
protected org.palladiosimulator.servicelevelobjective.ServicelevelObjectiveFactory servicelevelObjectiveFactory
-
-
Method Details
-
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
-