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 Details

    • MeasuringValue

      public MeasuringValue(org.palladiosimulator.metricspec.MetricDescription metricDescription)
      Default constructor.
      Parameters:
      metricDescription - Delegator object for implementing IMetricEntity.
  • Method Details

    • getMetricDesciption

      public org.palladiosimulator.metricspec.MetricDescription getMetricDesciption()
      Specified by:
      getMetricDesciption in interface org.palladiosimulator.metricspec.metricentity.IMetricEntity
    • isCompatibleWith

      public boolean isCompatibleWith(org.palladiosimulator.metricspec.MetricDescription other)
      Specified by:
      isCompatibleWith in interface org.palladiosimulator.metricspec.metricentity.IMetricEntity
    • asArray

      public javax.measure.Measure<?,?>[] asArray()
      Returns the list of measure objects via an array.
      Specified by:
      asArray in interface IMeasureProvider
      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, null otherwise.