Class AbstractRecorderConfiguration
java.lang.Object
org.palladiosimulator.recorderframework.config.AbstractRecorderConfiguration
- All Implemented Interfaces:
IRecorderConfiguration
- Direct Known Subclasses:
EDP2RecorderConfiguration
,SensorFrameworkRecorderConfiguration
public abstract class AbstractRecorderConfiguration
extends Object
implements IRecorderConfiguration
Abstract implementation for recorder configuration objects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
Deprecated.Superseded by EDP2; only sensor framework needed this method.final org.palladiosimulator.metricspec.MetricDescription
Getter for the accepted metric of this configuration.void
setConfiguration
(Map<String, Object> configuration) Initializes the configuration object based on a given key-value map.
-
Field Details
-
RECORDER_ACCEPTED_METRIC
Key for accepted metrics by of recorders; usable for key-value configuration maps.- See Also:
-
MEASURING_POINT
Key for measuring points to be used by recorders; usable for key-value configuration maps.- See Also:
-
-
Constructor Details
-
AbstractRecorderConfiguration
public AbstractRecorderConfiguration()
-
-
Method Details
-
setConfiguration
Description copied from interface:IRecorderConfiguration
Initializes the configuration object based on a given key-value map.- Specified by:
setConfiguration
in interfaceIRecorderConfiguration
- Parameters:
configuration
- the given key-value map.
-
getMeasuringPoint
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint getMeasuringPoint()Deprecated.Superseded by EDP2; only sensor framework needed this method.Getter for the measuring point.- Returns:
- the measuring point.
-
getRecorderAcceptedMetric
public final org.palladiosimulator.metricspec.MetricDescription getRecorderAcceptedMetric()Getter for the accepted metric of this configuration.- Returns:
- the recorderAcceptedMetric
-