Class AbstractAdapter
java.lang.Object
org.palladiosimulator.metricspec.metricentity.MetricEntity
org.palladiosimulator.edp2.datastream.AbstractDataSource
org.palladiosimulator.edp2.datastream.filter.AbstractAdapter
- All Implemented Interfaces:
IAdaptable
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<IDataSourceListener>
,IPropertyConfigurable
,IDataSink
,IDataSource
,org.palladiosimulator.metricspec.metricentity.IMetricEntity
- Direct Known Subclasses:
AbstractFilter
-
Field Summary
Fields inherited from class org.palladiosimulator.edp2.datastream.AbstractDataSource
datasourceChangedListener
-
Constructor Summary
ConstructorDescriptionAbstractAdapter
(IDataSource datasource, org.palladiosimulator.metricspec.MetricDescription metricDescription) AbstractAdapter
(org.palladiosimulator.metricspec.MetricDescription metricDescription) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.palladiosimulator.measurementframework.MeasuringValue
computeOutputFromInput
(org.palladiosimulator.measurementframework.MeasuringValue next) protected PropertyConfigurable
IDataStream<org.palladiosimulator.measurementframework.MeasuringValue>
void
setDataSource
(IDataSource newDataSource) protected boolean
shouldSkip
(org.palladiosimulator.measurementframework.MeasuringValue next) Methods inherited from class org.palladiosimulator.edp2.datastream.AbstractDataSource
addObserver, getAdapter, getConfiguration, getDefaultConfiguration, getKeys, getProperties, getPropertyType, isPropertyNotSet, removeObserver, setProperties, unsetProperty
Methods inherited from class org.palladiosimulator.metricspec.metricentity.MetricEntity
getMetricDesciption, isCompatibleWith, setMetricDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.palladiosimulator.commons.designpatterns.IAbstractObservable
addObserver, removeObserver
Methods inherited from interface org.palladiosimulator.edp2.datastream.IDataSource
getConfiguration
Methods inherited from interface org.palladiosimulator.metricspec.metricentity.IMetricEntity
getMetricDesciption, isCompatibleWith
-
Constructor Details
-
AbstractAdapter
public AbstractAdapter(IDataSource datasource, org.palladiosimulator.metricspec.MetricDescription metricDescription) -
AbstractAdapter
public AbstractAdapter(org.palladiosimulator.metricspec.MetricDescription metricDescription)
-
-
Method Details
-
getDataSource
- Specified by:
getDataSource
in interfaceIDataSink
-
getDataStream
- Specified by:
getDataStream
in interfaceIDataSource
-
shouldSkip
protected boolean shouldSkip(org.palladiosimulator.measurementframework.MeasuringValue next) -
computeOutputFromInput
protected org.palladiosimulator.measurementframework.MeasuringValue computeOutputFromInput(org.palladiosimulator.measurementframework.MeasuringValue next) -
createProperties
- Specified by:
createProperties
in classAbstractDataSource
-
getMeasuringPoint
- Specified by:
getMeasuringPoint
in interfaceIDataSource
-
setDataSource
- Specified by:
setDataSource
in interfaceIDataSink
-