Package de.fzi.power.ui.adapters
Class AnalysisCumulativeEnergyConsumptionAdapter
- java.lang.Object
-
- org.palladiosimulator.metricspec.metricentity.MetricEntity
-
- org.palladiosimulator.edp2.datastream.AbstractDataSource
-
- org.palladiosimulator.edp2.datastream.filter.AbstractAdapter
-
- de.fzi.power.ui.adapters.AnalysisCumulativeEnergyConsumptionAdapter
-
- All Implemented Interfaces:
IAdaptable
,IPersistable
,IPersistableElement
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.edp2.datastream.IDataSourceListener>
,org.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
,org.palladiosimulator.edp2.datastream.IDataSink
,org.palladiosimulator.edp2.datastream.IDataSource
,org.palladiosimulator.metricspec.metricentity.IMetricEntity
public class AnalysisCumulativeEnergyConsumptionAdapter extends org.palladiosimulator.edp2.datastream.filter.AbstractAdapter implements IPersistable, IPersistableElement
-
-
Constructor Summary
Constructors Constructor Description AnalysisCumulativeEnergyConsumptionAdapter(AbstractCumulativeEnergyCalculator calculator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAccept(org.palladiosimulator.edp2.datastream.IDataSource dataSource)
org.palladiosimulator.edp2.datastream.IDataStream<org.palladiosimulator.measurementframework.MeasuringValue>
getDataStream()
String
getFactoryId()
void
saveState(IMemento memento)
-
Methods inherited from class org.palladiosimulator.edp2.datastream.filter.AbstractAdapter
computeOutputFromInput, createProperties, getDataSource, getMeasuringPoint, setDataSource, shouldSkip
-
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
-
-
-
-
Constructor Detail
-
AnalysisCumulativeEnergyConsumptionAdapter
public AnalysisCumulativeEnergyConsumptionAdapter(AbstractCumulativeEnergyCalculator calculator)
-
-
Method Detail
-
canAccept
public boolean canAccept(org.palladiosimulator.edp2.datastream.IDataSource dataSource)
- Specified by:
canAccept
in interfaceorg.palladiosimulator.edp2.datastream.IDataSink
-
getDataStream
public org.palladiosimulator.edp2.datastream.IDataStream<org.palladiosimulator.measurementframework.MeasuringValue> getDataStream()
- Specified by:
getDataStream
in interfaceorg.palladiosimulator.edp2.datastream.IDataSource
- Overrides:
getDataStream
in classorg.palladiosimulator.edp2.datastream.filter.AbstractAdapter
-
getFactoryId
public String getFactoryId()
- Specified by:
getFactoryId
in interfaceIPersistableElement
-
saveState
public void saveState(IMemento memento)
- Specified by:
saveState
in interfaceIPersistable
-
-