Class EDP2RecorderConfigurationFactory

java.lang.Object
org.palladiosimulator.recorderframework.config.AbstractRecorderConfigurationFactory
org.palladiosimulator.recorderframework.edp2.config.AbstractEDP2RecorderConfigurationFactory<org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun>
org.palladiosimulator.recorderframework.edp2.config.EDP2RecorderConfigurationFactory
All Implemented Interfaces:
IRecorderConfigurationFactory

public class EDP2RecorderConfigurationFactory extends AbstractEDP2RecorderConfigurationFactory<org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun>
Factory for EDP2 recorder configuration objects that configure the recorder to store measurements within experiment runs.
  • Constructor Details

    • EDP2RecorderConfigurationFactory

      public EDP2RecorderConfigurationFactory()
  • Method Details

    • initialize

      public void initialize(Map<String,Object> configuration)
      Description copied from interface: IRecorderConfigurationFactory
      Initializes this factory as a preparation for creating a configuration object. TODO Do we really need initialization or can we directly create configurations? [Lehrig]
      Specified by:
      initialize in interface IRecorderConfigurationFactory
      Overrides:
      initialize in class AbstractEDP2RecorderConfigurationFactory<org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun>
      Parameters:
      configuration - a map with key-value pairs to be used for initialization.
    • createMeasuringType

      protected org.palladiosimulator.edp2.models.ExperimentData.MeasuringType createMeasuringType(org.palladiosimulator.metricspec.MetricDescription measureMetric, org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint)
      Description copied from class: AbstractEDP2RecorderConfigurationFactory
      Creates a new measure conforming to the given metric description and to the given measuring point.
      Overrides:
      createMeasuringType in class AbstractEDP2RecorderConfigurationFactory<org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun>
      Parameters:
      measureMetric - the metric description of the measure.
      measuringPoint - the measuring point of the measure.
      Returns:
      a newly created measure conforming to the given parameters.