| Modifier and Type | Field and Description |
|---|---|
private Predicate<String> |
dbExclusions |
private Predicate<String> |
dbInclusions |
| Constructor and Description |
|---|
DatabaseSelectionPredicateBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Predicate<String> |
build()
Build the
Predicate that determines whether a database identified by its name is to be included. |
Selectors.DatabaseSelectionPredicateBuilder |
excludeDatabases(String databaseNames)
Specify the names of the databases that should be excluded.
|
Selectors.DatabaseSelectionPredicateBuilder |
includeDatabases(String databaseNames)
Specify the names of the databases that should be included.
|
public Selectors.DatabaseSelectionPredicateBuilder includeDatabases(String databaseNames)
excluded databases.databaseNames - the comma-separated list of database names to include; may be null or emptypublic Selectors.DatabaseSelectionPredicateBuilder excludeDatabases(String databaseNames)
excluded databases, although including databases overrides
exclusions.databaseNames - the comma-separated list of database names to exclude; may be null or emptypublic Predicate<String> build()
Predicate that determines whether a database identified by its name is to be included.includeDatabases(String),
excludeDatabases(String)Copyright © 2020 JBoss by Red Hat. All rights reserved.