Class MeasuringValue
- java.lang.Object
-
- org.palladiosimulator.measurementframework.MeasuringValue
-
- All Implemented Interfaces:
IMeasureProvider,org.palladiosimulator.metricspec.metricentity.IMetricEntity
- Direct Known Subclasses:
BasicMeasurement,TupleMeasurement
public abstract class MeasuringValue extends Object implements IMeasureProvider, org.palladiosimulator.metricspec.metricentity.IMetricEntity
Measuring values are taken in a list of measures, a metric description, and at a concrete measuring point. TODO Add measuring point here.
-
-
Constructor Summary
Constructors Constructor Description MeasuringValue(org.palladiosimulator.metricspec.MetricDescription metricDescription)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.measure.Measure<?,?>[]asArray()Returns the list of measure objects via an array.MeasuringValuegetMeasuringValueForMetric(org.palladiosimulator.metricspec.MetricDescription metricDesciption)Returns this measuring value in case it conforms to the given metric description.org.palladiosimulator.metricspec.MetricDescriptiongetMetricDesciption()booleanisCompatibleWith(org.palladiosimulator.metricspec.MetricDescription other)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.palladiosimulator.measurementframework.measureprovider.IMeasureProvider
asList, getMeasureForMetric
-
-
-
-
Method Detail
-
getMetricDesciption
public org.palladiosimulator.metricspec.MetricDescription getMetricDesciption()
- Specified by:
getMetricDesciptionin interfaceorg.palladiosimulator.metricspec.metricentity.IMetricEntity
-
isCompatibleWith
public boolean isCompatibleWith(org.palladiosimulator.metricspec.MetricDescription other)
- Specified by:
isCompatibleWithin interfaceorg.palladiosimulator.metricspec.metricentity.IMetricEntity
-
asArray
public javax.measure.Measure<?,?>[] asArray()
Returns the list of measure objects via an array.- Specified by:
asArrayin interfaceIMeasureProvider- Returns:
- the array of measure objects.
-
getMeasuringValueForMetric
public MeasuringValue getMeasuringValueForMetric(org.palladiosimulator.metricspec.MetricDescription metricDesciption)
Returns this measuring value in case it conforms to the given metric description.- Parameters:
metricDesciption- the given metric description.- Returns:
- this measuring value if it conforms to the given metric description,
nullotherwise.
-
-