Class StandardSetCreationProvider
java.lang.Object
org.palladiosimulator.measurementsui.dataprovider.StandardSetCreationProvider
Provides the methods for creating the standard set depending on the resources in the project. A
new MP is created and assigned to a new Monitor. Depending on the Monitors that are selected, we
add a valid MeasurementSpecification <-> Metric Description pair with the Processing Type set to
"Feed Through".
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetricDescriptionsToAllMonitors
(org.palladiosimulator.monitorrepository.Monitor[] monitorArray) adds suggested, valid Metric Description<->MeasurementSpecification pairs to each Monitor.void
addSuggestedValidMetricDescriptionsToMonitor
(org.palladiosimulator.monitorrepository.Monitor monitor) finds all suggested Metric Descriptions for the monitor, creates mspec <-> metricDesc pair and adds it to the given Monitor.List<org.palladiosimulator.monitorrepository.Monitor>
Creates a MP <-> Monitor Pair for every resource in the workspace
-
Constructor Details
-
StandardSetCreationProvider
public StandardSetCreationProvider()
-
-
Method Details
-
createMonitorForEveryResource
Creates a MP <-> Monitor Pair for every resource in the workspace- Returns:
- List of Monitors with MPs assigned for every resource
-
addMetricDescriptionsToAllMonitors
public void addMetricDescriptionsToAllMonitors(org.palladiosimulator.monitorrepository.Monitor[] monitorArray) adds suggested, valid Metric Description<->MeasurementSpecification pairs to each Monitor.- Parameters:
monitorArray
-
-
addSuggestedValidMetricDescriptionsToMonitor
public void addSuggestedValidMetricDescriptionsToMonitor(org.palladiosimulator.monitorrepository.Monitor monitor) finds all suggested Metric Descriptions for the monitor, creates mspec <-> metricDesc pair and adds it to the given Monitor.- Parameters:
monitor
-
-