public static class ItemFilters.TypeMatches extends PersistableItemFilter
PersistableItemFilter.Kind| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
typeMatchString |
KEY_END, KEY_FIELD, KEY_FILTER, KEY_START, KEY_TYPE, KEY_TYPE_MATCHES, KEY_VALUE, kind| Constructor and Description |
|---|
TypeMatches(java.lang.String typeMatchString) |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Predicate<IItem> |
getPredicate(IType<IItem> type) |
java.lang.String |
getTypeMatch() |
protected void |
saveArgs(IWritableState memento) |
java.lang.String |
toString() |
putValueType, readFrom, readValue, readValue, saveTo, toString, writeValue, writeValuepublic java.lang.String getTypeMatch()
protected void saveArgs(IWritableState memento)
saveArgs in class PersistableItemFilterpublic java.util.function.Predicate<IItem> getPredicate(IType<IItem> type)
type - the item type to get a predicate forpublic java.lang.String toString()
toString in class PersistableItemFilter