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 ofUtilizationFilter
s. With this class, window length and increment, that are used byUtilizationFilter
s to process their input, can be adapted by the user.- See Also:
UtilizationFilter
-
-
Field Summary
Fields Modifier and Type Field Description static String
WINDOW_INCREMENT_KEY
static String
WINDOW_LENGTH_KEY
-
Constructor Summary
Constructors Constructor Description UtilizationFilterConfiguration()
Initializes a new instance of theUtilizationFilterConfiguration
class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getDefaultConfiguration()
Gets the default configuration settings, that is default values for window length and window increment.static javax.measure.Measure<Double,javax.measure.quantity.Duration>
getDefaultWindowIncrement()
Gets the default value of the window increment property.static javax.measure.Measure<Double,javax.measure.quantity.Duration>
getDefaultWindowLength()
Gets the default value of the window length property.javax.measure.Measure<Double,javax.measure.quantity.Duration>
getWindowIncrement()
Gets the current value of the window increment property.javax.measure.Measure<Double,javax.measure.quantity.Duration>
getWindowLength()
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
-
-
-
-
Field Detail
-
WINDOW_LENGTH_KEY
public static final String WINDOW_LENGTH_KEY
- See Also:
- Constant Field Values
-
WINDOW_INCREMENT_KEY
public static final String WINDOW_INCREMENT_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UtilizationFilterConfiguration
public UtilizationFilterConfiguration()
Initializes a new instance of theUtilizationFilterConfiguration
class.
-
-
Method Detail
-
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 interfaceorg.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
- Overrides:
getDefaultConfiguration
in classorg.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 interfaceorg.palladiosimulator.edp2.datastream.configurable.IPropertyListener
- Overrides:
propertyChanged
in classorg.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
-
-