Class FilterTablesByNamePredicate

java.lang.Object
io.github.mfvanek.pg.checks.predicates.FilterTablesByNamePredicate
All Implemented Interfaces:
Predicate<io.github.mfvanek.pg.model.table.TableNameAware>

public class FilterTablesByNamePredicate extends Object implements Predicate<io.github.mfvanek.pg.model.table.TableNameAware>
Allows filter tables 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.table.TableNameAware tableNameAware)
      Specified by:
      test in interface Predicate<io.github.mfvanek.pg.model.table.TableNameAware>
    • of

      @Nonnull public static Predicate<io.github.mfvanek.pg.model.table.TableNameAware> of(@Nonnull String tableName)
    • of

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