Class PersistenceFilter
java.lang.Object
org.openhab.core.persistence.filter.PersistenceFilter
- Direct Known Subclasses:
PersistenceEqualsFilter
,PersistenceIncludeFilter
,PersistenceThresholdFilter
,PersistenceTimeFilter
The
PersistenceFilter
is the base class for implementing persistence filters.- Author:
- Markus Rathgeb - Initial contribution
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PersistenceFilter
-
-
Method Details
-
getName
Get the name of this filter- Returns:
- a unique name
-
apply
Apply this filter to an item- Parameters:
item
- the item to check- Returns:
- true if the filter allows persisting this value
-
persisted
Notify filter that item was persisted- Parameters:
item
- the persisted item
-
hashCode
public int hashCode() -
equals
-
toString
-