Package de.fzi.power.ui.adapters
Class AnalysisPowerConsumptionAdapter
- java.lang.Object
-
- org.palladiosimulator.metricspec.metricentity.MetricEntity
-
- org.palladiosimulator.edp2.datastream.AbstractDataSource
-
- de.fzi.power.ui.adapters.AnalysisPowerConsumptionAdapter
-
- 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.configurable.IPropertyListener
,org.palladiosimulator.edp2.datastream.IDataSource
,org.palladiosimulator.metricspec.metricentity.IMetricEntity
public class AnalysisPowerConsumptionAdapter extends org.palladiosimulator.edp2.datastream.AbstractDataSource implements IPersistable, IPersistableElement, org.palladiosimulator.edp2.datastream.configurable.IPropertyListener
-
-
Constructor Summary
Constructors Constructor Description AnalysisPowerConsumptionAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
createProperties()
org.palladiosimulator.edp2.datastream.IDataStream<org.palladiosimulator.measurementframework.MeasuringValue>
getDataStream()
String
getFactoryId()
org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint
getMeasuringPoint()
void
propertyChangeCompleted()
void
propertyChanged(String key, Object oldValue, Object newValue)
void
saveState(IMemento memento)
void
setExperimentRun(org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun experimentRun)
void
setPowerProvidingEntity(PowerProvidingEntity powerProvidingEntity)
-
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
-
-
-
-
Method Detail
-
getMeasuringPoint
public org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint getMeasuringPoint()
- Specified by:
getMeasuringPoint
in interfaceorg.palladiosimulator.edp2.datastream.IDataSource
-
getDataStream
public org.palladiosimulator.edp2.datastream.IDataStream<org.palladiosimulator.measurementframework.MeasuringValue> getDataStream()
- Specified by:
getDataStream
in interfaceorg.palladiosimulator.edp2.datastream.IDataSource
-
setPowerProvidingEntity
public void setPowerProvidingEntity(PowerProvidingEntity powerProvidingEntity)
-
setExperimentRun
public void setExperimentRun(org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun experimentRun)
-
getFactoryId
public String getFactoryId()
- Specified by:
getFactoryId
in interfaceIPersistableElement
-
saveState
public void saveState(IMemento memento)
- Specified by:
saveState
in interfaceIPersistable
-
createProperties
protected org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable createProperties()
- Specified by:
createProperties
in classorg.palladiosimulator.edp2.datastream.AbstractDataSource
-
propertyChangeCompleted
public void propertyChangeCompleted()
- Specified by:
propertyChangeCompleted
in interfaceorg.palladiosimulator.edp2.datastream.configurable.IPropertyListener
-
-