Interface IAdapterFactory

All Known Implementing Classes:
IdentitySensorAdapterFactory, StateSensorToFrequencyFailurePieFactory, StateSensorToFrequencyPieFactory, StateSensorToTimeDeltaPieFactory, StateSensorToUtilizationFactory, TimeSpanSensorToHistogramFactory, TimeSpanSensorToQuantilFactory, TimeSpanSensorToThroughputHistogramFactory, TimeSpanSensorToThroughputUtilizationFactory, TimeSpanSensorToTimeSeriesFactory

public interface IAdapterFactory
Deprecated.
Superseded by EDP2.
Factory interface for factories creating data adapter
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canAdapt(Object adaptee, Class<?> targetClass)
    Deprecated.
    Check whether this adapter factory can adapt the given object to the given class
    boolean
    createsAdaptersFor(Class<?> targetClass)
    Deprecated.
     
    getAdapter(Object adaptee)
    Deprecated.
    Factory method.
    Deprecated.
     
    Deprecated.
    Get a descriptive label of the metric computed by adapters created by this factory, e.g., ResponseTime or Throughput
  • Method Details

    • canAdapt

      boolean canAdapt(Object adaptee, Class<?> targetClass)
      Deprecated.
      Check whether this adapter factory can adapt the given object to the given class
      Parameters:
      adaptee - The object to adapt
      targetClass - The class of the required adapter output
      Returns:
      true if this factory can create adapters of the required type, false otherwise
    • getAdapter

      DataAdapter getAdapter(Object adaptee)
      Deprecated.
      Factory method. Creates a new adapter of this factory's type
      Parameters:
      adaptee - The data source to adapt
      Returns:
      A data adapter which adapts the given data source
    • getMetricLabel

      String getMetricLabel()
      Deprecated.
      Get a descriptive label of the metric computed by adapters created by this factory, e.g., ResponseTime or Throughput
      Returns:
      A label describing the calculated metric
    • getAdapterFactoryID

      String getAdapterFactoryID()
      Deprecated.
      Returns:
      A unique id for this adapter factory
    • createsAdaptersFor

      boolean createsAdaptersFor(Class<?> targetClass)
      Deprecated.