Class DataAdapter

java.lang.Object
java.util.Observable
de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
All Implemented Interfaces:
IAdapter
Direct Known Subclasses:
IdentitySensorAdapter, StateSensorToPieAdapter, StateToUtilizationAdapter, TimeSpanToHistogramAdapter, TimeSpanToQuantilAdapter, TimeSpanToThroughputHistogramAdapter, TimeSpanToThroughputUtilizationAdapter, TimeSpanToTimeSeriesAdapter

public abstract class DataAdapter extends Observable implements IAdapter
Deprecated.
Superseded by EDP2.
Superclass for all DataAdapter in the SensorFramework. All Adapters can have property setting and changes need to be observed to allow changes on the GUI.
  • Field Details

    • SETTINGS_CHANGED

      public static final String SETTINGS_CHANGED
      Deprecated.
      See Also:
    • adapterProperties

      protected Properties adapterProperties
      Deprecated.
      The properties settings for this adapter
  • Constructor Details

    • DataAdapter

      public DataAdapter()
      Deprecated.
      Initializes a new DataAdapter without properties.
    • DataAdapter

      public DataAdapter(Properties adapterProperties)
      Deprecated.
      Initializes a new DataAdapter with the given properties.
      Parameters:
      adapterProperties - The associated properties.
  • Method Details

    • getProperties

      public Properties getProperties()
      Deprecated.
      Get the properties used to configure the adapter
      Specified by:
      getProperties in interface IAdapter
      Returns:
      This adapters properties
    • setProperties

      public void setProperties(Properties newProperties)
      Deprecated.
      Set the properties of this adapter. Properties can be used to control the adapter's output, e.g., setting the histogram width of a histogram
      Specified by:
      setProperties in interface IAdapter
      Parameters:
      newProperties - The new properties to be used in this adapter