public abstract class ExtendedMeasureProvider extends Object implements org.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
EvaluationScope with the capability to
automatically create additional metrics potentially from other existing metrics.| Constructor and Description |
|---|
ExtendedMeasureProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvideMetric(org.palladiosimulator.metricspec.MetricDescription desiredMetric,
Collection<org.palladiosimulator.metricspec.MetricDescription> availableSourceMetrics)
Given the set of
availableDataSources the method returns true, iff the provider is
able to provide the desired metric. |
abstract org.palladiosimulator.edp2.datastream.IDataSource |
getDataSource(Set<org.palladiosimulator.edp2.datastream.IDataSource> availableDataSources)
Gets a
IDataSource which contains the new metrics. |
abstract Collection<Set<org.palladiosimulator.metricspec.MetricDescription>> |
getSourceMetrics()
Gets a collection of the sets of metrics the measure provider requires to be able to provide
the additional target metrics.
|
abstract Set<org.palladiosimulator.metricspec.MetricDescription> |
getTargetMetrics()
Gets the set of metrics the measure provider has to offer in case all of the source metrics
requirements are satisfied.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic abstract Collection<Set<org.palladiosimulator.metricspec.MetricDescription>> getSourceMetrics()
Collection of the sets of required source metrics.public abstract Set<org.palladiosimulator.metricspec.MetricDescription> getTargetMetrics()
public abstract org.palladiosimulator.edp2.datastream.IDataSource getDataSource(Set<org.palladiosimulator.edp2.datastream.IDataSource> availableDataSources)
IDataSource which contains the new metrics.availableDataSources - the available data sourcespublic boolean canProvideMetric(org.palladiosimulator.metricspec.MetricDescription desiredMetric,
Collection<org.palladiosimulator.metricspec.MetricDescription> availableSourceMetrics)
availableDataSources the method returns true, iff the provider is
able to provide the desired metric.desiredMetric - the desired metricavailableSourceMetrics - the available data sourcesNullPointerException - In case either argument is null.