Class UtilizationFilterConfiguration

java.lang.Object
org.palladiosimulator.commons.designpatterns.AbstractObservable<org.palladiosimulator.edp2.datastream.configurable.IPropertyListener>
org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
org.palladiosimulator.experimentanalysis.utilizationfilter.UtilizationFilterConfiguration
All Implemented Interfaces:
IAdaptable, org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.edp2.datastream.configurable.IPropertyListener>, org.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable, org.palladiosimulator.edp2.datastream.configurable.IPropertyListener

public final class UtilizationFilterConfiguration extends org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
This class contains properties to configure the behavior of UtilizationFilters. With this class, window length and increment, that are used by UtilizationFilters to process their input, can be adapted by the user.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable

    keys
  • Constructor Summary

    Constructors
    Constructor
    Description
    Initializes a new instance of the UtilizationFilterConfiguration class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the default configuration settings, that is default values for window length and window increment.
    static javax.measure.Measure<Double,javax.measure.quantity.Duration>
    Gets the default value of the window increment property.
    static javax.measure.Measure<Double,javax.measure.quantity.Duration>
    Gets the default value of the window length property.
    javax.measure.Measure<Double,javax.measure.quantity.Duration>
    Gets the current value of the window increment property.
    javax.measure.Measure<Double,javax.measure.quantity.Duration>
    Gets the current value of the window length property.
    void
    propertyChanged(String key, Object oldValue, Object newValue)
     

    Methods inherited from class org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable

    getKeys, getPropertyType, propertyChangeCompleted, setProperties

    Methods inherited from class org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable

    getAdapter, getNotSetConstant, getProperties, isPropertyNotSet, unsetProperty

    Methods inherited from class org.palladiosimulator.commons.designpatterns.AbstractObservable

    addObserver, getEventDispatcher, getObservers, removeAllObserver, removeObserver

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getDefaultWindowIncrement

      public static javax.measure.Measure<Double,javax.measure.quantity.Duration> getDefaultWindowIncrement()
      Gets the default value of the window increment property.
      Returns:
      A Measure denoting the default value of the property.
    • getDefaultWindowLength

      public static javax.measure.Measure<Double,javax.measure.quantity.Duration> getDefaultWindowLength()
      Gets the default value of the window length property.
      Returns:
      A Measure denoting the default value of the property.
    • getWindowIncrement

      public javax.measure.Measure<Double,javax.measure.quantity.Duration> getWindowIncrement()
      Gets the current value of the window increment property.
      Returns:
      A Measure denoting the value of the property.
    • getWindowLength

      public javax.measure.Measure<Double,javax.measure.quantity.Duration> getWindowLength()
      Gets the current value of the window length property.
      Returns:
      A Measure denoting the value of the property.
    • getDefaultConfiguration

      public Map<String,Object> getDefaultConfiguration()
      Gets the default configuration settings, that is default values for window length and window increment.
      Specified by:
      getDefaultConfiguration in interface org.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
      Overrides:
      getDefaultConfiguration in class org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
      Returns:
      A Map containing the default values of the window length and window increment properties.
    • propertyChanged

      public void propertyChanged(String key, Object oldValue, Object newValue)
      Specified by:
      propertyChanged in interface org.palladiosimulator.edp2.datastream.configurable.IPropertyListener
      Overrides:
      propertyChanged in class org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable