Interface SearchPredicate
- All Known Subinterfaces:
FileWithIdSearchPredicate
- All Known Implementing Classes:
FilesHierarchySearchVBox.RegexSearchPredicate
,PageSearchPredicate
,WebbpmProcessIdSearchPredicate
public interface SearchPredicate
Search predicates enable text search in file hierarchy panels. Each predicate is a rule.
If testing item against a rule returns 'true', the item is displayed in the search results.
Different sets of rules can be enabled in different file panels.
- Author:
- Denis Ivanov
-
Method Summary
Modifier and TypeMethodDescriptionstatic Pattern
compileSearchPattern
(String filter) Search for any occurrences of user input string.boolean
test
(FilesHierarchyItemData item, String input)
-
Method Details
-
test
-
compileSearchPattern
Search for any occurrences of user input string. Any amount of characters can be present before and after an occurrence. Filter.replaceAll() adds support for wildcards * in user string.
-