Class FilterIndexesByNamePredicate

java.lang.Object
io.github.mfvanek.pg.checks.predicates.FilterIndexesByNamePredicate
All Implemented Interfaces:
Predicate<io.github.mfvanek.pg.model.index.IndexNameAware>

public class FilterIndexesByNamePredicate extends Object implements Predicate<io.github.mfvanek.pg.model.index.IndexNameAware>
Allows filter indexes by their name.
Since:
0.6.0
  • Field Details

    • exclusions

      protected final Set<String> exclusions
  • Method Details

    • test

      public boolean test(@Nonnull io.github.mfvanek.pg.model.index.IndexNameAware indexNameAware)
      Specified by:
      test in interface Predicate<io.github.mfvanek.pg.model.index.IndexNameAware>
    • of

      @Nonnull public static Predicate<io.github.mfvanek.pg.model.index.IndexNameAware> of(@Nonnull String indexName)
    • of

      @Nonnull public static Predicate<io.github.mfvanek.pg.model.index.IndexNameAware> of(@Nonnull Collection<String> exclusions)