liquibase.database
public class DatabaseList extends java.lang.Object
Constructor and Description |
---|
DatabaseList() |
Modifier and Type | Method and Description |
---|---|
static boolean |
definitionMatches(java.util.Collection<java.lang.String> definition,
Database database,
boolean returnValueIfEmptyList)
Same logic as
definitionMatches(String, liquibase.database.Database, boolean) but with a collection of definitions rather than a comma separated list. |
static boolean |
definitionMatches(java.lang.String definition,
Database database,
boolean returnValueIfEmpty)
Compares a given database to a database definition string.
|
public static boolean definitionMatches(java.lang.String definition, Database database, boolean returnValueIfEmpty)
public static boolean definitionMatches(java.util.Collection<java.lang.String> definition, Database database, boolean returnValueIfEmptyList)
definitionMatches(String, liquibase.database.Database, boolean)
but with a collection of definitions rather than a comma separated list.