public TemplateFilter nameContains ( String ... names ) { allItemsNotNull ( names , "Name substrings" ) ; predicate = predicate . and ( combine ( TemplateMetadata :: getName , in ( asList ( names ) , Predicates :: containsIgnoreCase ) ) ) ; return this ; }
Method allow to find templates that contains some substring in name . Filtering is case insensitive .