Class WarmupFilteredFactory
- java.lang.Object
-
- de.uka.ipd.sdq.sensorframework.filter.WarmupFilteredFactory
-
- All Implemented Interfaces:
IFilteredCollectionFactory
public class WarmupFilteredFactory extends Object implements IFilteredCollectionFactory
Deprecated.Superseded by EDP2.
-
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_WARMUPDeprecated.Default warm up to use.protected PropertiesfilterPropertiesDeprecated.The properties settings for this filtered collectionstatic StringWARMUPDeprecated.The property "warm up".
-
Constructor Summary
Constructors Constructor Description WarmupFilteredFactory()Deprecated.Initializes a new WarmupFilteredFactory without properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanFilter(Collection<Measurement> filtrate, Number attribute)Deprecated.Check whether this filter factory can filter the given collection.LongconvertToType(String type)Deprecated.TODO add documentation hereAbstractMeasurementsCollectiongetFilteredCollection(Collection<Measurement> filtrate)Deprecated.Factory method.AbstractMeasurementsCollectiongetFilteredCollection(Collection<Measurement> filtrate, Number parameter)Deprecated.Factory method.StringgetFilterFactoryID()Deprecated.PropertiesgetProperties()Deprecated.Get the properties used to configure the filtervoidsetProperties(Properties newProperties)Deprecated.Set the properties of this filter.
-
-
-
Field Detail
-
filterProperties
protected Properties filterProperties
Deprecated.The properties settings for this filtered collection
-
WARMUP
public static final String WARMUP
Deprecated.The property "warm up".- See Also:
- Constant Field Values
-
DEFAULT_WARMUP
public static final long DEFAULT_WARMUP
Deprecated.Default warm up to use.- See Also:
- Constant Field Values
-
-
Method Detail
-
getFilteredCollection
public AbstractMeasurementsCollection getFilteredCollection(Collection<Measurement> filtrate)
Deprecated.Factory method. Creates a new filter with default parameter- Specified by:
getFilteredCollectionin interfaceIFilteredCollectionFactory- Parameters:
filtrate- The data source to filtering- Returns:
- A data adapter which adapts the given data source
-
getProperties
public Properties getProperties()
Deprecated.Get the properties used to configure the filter- Specified by:
getPropertiesin interfaceIFilteredCollectionFactory- Returns:
- This filters properties
-
setProperties
public void setProperties(Properties newProperties)
Deprecated.Set the properties of this filter. Properties can be used to control the filters's parameter.- Specified by:
setPropertiesin interfaceIFilteredCollectionFactory- Parameters:
newProperties- The new properties to be used in this adapter
-
canFilter
public boolean canFilter(Collection<Measurement> filtrate, Number attribute)
Deprecated.Check whether this filter factory can filter the given collection.- Specified by:
canFilterin interfaceIFilteredCollectionFactory- Parameters:
filtrate- The collection to filterattribute- The object of the required input attribute- Returns:
- true if this factory can create filtered collection of the required type, false otherwise
-
getFilteredCollection
public AbstractMeasurementsCollection getFilteredCollection(Collection<Measurement> filtrate, Number parameter)
Deprecated.Factory method. Creates a new filter of this factory's type- Specified by:
getFilteredCollectionin interfaceIFilteredCollectionFactory- Parameters:
filtrate- The data source to filtering- Returns:
- A data adapter which adapts the given data source
-
getFilterFactoryID
public String getFilterFactoryID()
Deprecated.- Specified by:
getFilterFactoryIDin interfaceIFilteredCollectionFactory- Returns:
- A unique id for this filter factory
-
convertToType
public Long convertToType(String type)
Deprecated.TODO add documentation here- Specified by:
convertToTypein interfaceIFilteredCollectionFactory- Returns:
-
-