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 Details

    • test

      boolean test(FilesHierarchyItemData item, String input)
    • compileSearchPattern

      static Pattern compileSearchPattern(String filter)
      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.