public class DatabaseList extends Object
Constructor and Description |
---|
DatabaseList() |
Modifier and Type | Method and Description |
---|---|
static boolean |
definitionMatches(Collection<String> definition,
Database database,
boolean returnValueIfEmptyList) |
static boolean |
definitionMatches(Collection<String> definition,
String databaseShortName,
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(String definition,
Database database,
boolean returnValueIfEmpty) |
static boolean |
definitionMatches(String definition,
String databaseShortName,
boolean returnValueIfEmpty)
Compares a given database to a database definition string.
|
public static boolean definitionMatches(String definition, String databaseShortName, boolean returnValueIfEmpty)
public static boolean definitionMatches(String definition, Database database, boolean returnValueIfEmpty)
public static boolean definitionMatches(Collection<String> definition, String databaseShortName, boolean returnValueIfEmptyList)
definitionMatches(String, liquibase.database.Database, boolean)
but with a collection of definitions rather than a comma separated list.public static boolean definitionMatches(Collection<String> definition, Database database, boolean returnValueIfEmptyList)
Copyright © 2018 Liquibase.org. All rights reserved.