Class AbstractEDP2RecorderConfigurationFactory<RUN extends org.palladiosimulator.edp2.models.ExperimentData.Run>

java.lang.Object
org.palladiosimulator.recorderframework.config.AbstractRecorderConfigurationFactory
org.palladiosimulator.recorderframework.edp2.config.AbstractEDP2RecorderConfigurationFactory<RUN>
Type Parameters:
RUN - EDP2 run type, either an experiment run or an experiment group run
All Implemented Interfaces:
IRecorderConfigurationFactory
Direct Known Subclasses:
EDP2RecorderConfigurationFactory, EDP2ReportRecorderConfigurationFactory

public abstract class AbstractEDP2RecorderConfigurationFactory<RUN extends org.palladiosimulator.edp2.models.ExperimentData.Run> extends AbstractRecorderConfigurationFactory
Abstract factory for EDP2 recorder configuration objects.
  • Field Details

    • REPOSITORY_ID

      public static final String REPOSITORY_ID
      Identifier for EDP2 repositories; usable in key-value maps.
      See Also:
    • VARIATION_ID

      public static final String VARIATION_ID
      Identifier for variations; usable in key-value maps.
      See Also:
    • repository

      protected org.palladiosimulator.edp2.models.Repository.Repository repository
      EDP2 Repository where data should be stored.
    • experimentGroup

      protected org.palladiosimulator.edp2.models.ExperimentData.ExperimentGroup experimentGroup
      EDP2 experiment group.
    • experimentRun

      protected RUN extends org.palladiosimulator.edp2.models.ExperimentData.Run experimentRun
      An EDP2 run, either an experiment run or an experiment group run.
  • Constructor Details

    • AbstractEDP2RecorderConfigurationFactory

      public AbstractEDP2RecorderConfigurationFactory()
  • 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 AbstractRecorderConfigurationFactory
      Parameters:
      configuration - a map with key-value pairs to be used for initialization.
    • createRecorderConfiguration

      public IRecorderConfiguration createRecorderConfiguration(Map<String,Object> configuration)
      Description copied from interface: IRecorderConfigurationFactory
      Creates a configuration object using the given configuration.
      Parameters:
      configuration - a map with key-value pairs to be used for configuration.
      Returns:
      a newly created recorder configuration object.
    • finalizeRecorderConfigurationFactory

      public void finalizeRecorderConfigurationFactory()
      Description copied from interface: IRecorderConfigurationFactory
      Finalizes this factory, thus, allowing to close potentially opened file handles.
    • createMeasuringType

      protected org.palladiosimulator.edp2.models.ExperimentData.MeasuringType createMeasuringType(org.palladiosimulator.metricspec.MetricDescription measureMetric, org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint)
      Creates a new measure conforming to the given metric description and to the given measuring point.
      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.