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.
-
Field Summary
Fields inherited from class org.palladiosimulator.recorderframework.edp2.config.AbstractEDP2RecorderConfigurationFactory
experimentGroup, experimentRun, repository, REPOSITORY_ID, VARIATION_ID
Fields inherited from class org.palladiosimulator.recorderframework.config.AbstractRecorderConfigurationFactory
EXPERIMENT_RUN_DATE_FORMAT, EXPERIMENT_RUN_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.void
initialize
(Map<String, Object> configuration) Initializes this factory as a preparation for creating a configuration object.Methods inherited from class org.palladiosimulator.recorderframework.edp2.config.AbstractEDP2RecorderConfigurationFactory
createRecorderConfiguration, finalizeRecorderConfigurationFactory
Methods inherited from class org.palladiosimulator.recorderframework.config.AbstractRecorderConfigurationFactory
getExperimentName, getExperimentRunName
-
Constructor Details
-
EDP2RecorderConfigurationFactory
public EDP2RecorderConfigurationFactory()
-
-
Method Details
-
initialize
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 interfaceIRecorderConfigurationFactory
- Overrides:
initialize
in classAbstractEDP2RecorderConfigurationFactory<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 classAbstractEDP2RecorderConfigurationFactory<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.
-