Package de.xima.fc.liquibase
Class LiquibaseMigrationUtils
- java.lang.Object
-
- de.xima.fc.liquibase.LiquibaseMigrationUtils
-
@Deprecated(since="8.5.0", forRemoval=true) public class LiquibaseMigrationUtils extends Object
Deprecated, for removal: This API element is subject to removal in a future version.System schema migration is now handled in the fc-persistence module. This class will be removed in future releases. UseSystemPersistenceManager.migrateSchema()instead. To check if the schema is up to date, useSystemPersistenceHealthProvider.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_PRODUCTIVEDeprecated, for removal: This API element is subject to removal in a future version.static StringCONTEXT_TESTDeprecated, for removal: This API element is subject to removal in a future version.static StringMASTER_XMLDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description LiquibaseMigrationUtils()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanareChangeSetsUnrun(String... ids)Deprecated, for removal: This API element is subject to removal in a future version.static booleanareChangeSetsUnrun(String file, String context, String... ids)Deprecated.static booleanareChangeSetsUnrun(String file, liquibase.Contexts context, String... ids)Deprecated, for removal: This API element is subject to removal in a future version.static booleandropDatabase(String file)Deprecated, for removal: This API element is subject to removal in a future version.static List<liquibase.changelog.ChangeSet>getUnrunChangesets()Deprecated, for removal: This API element is subject to removal in a future version.static List<liquibase.changelog.ChangeSet>getUnrunChangesets(String file, String context)Deprecated.static List<liquibase.changelog.ChangeSet>getUnrunChangesets(String file, liquibase.Contexts context)Deprecated, for removal: This API element is subject to removal in a future version.static FCMessageinvokeLiquibaseProzess(ELiquibaseCmd lbCmd)Deprecated, for removal: This API element is subject to removal in a future version.static FCMessageinvokeLiquibaseProzess(ELiquibaseCmd lbCmd, String file, String context)Deprecated.static FCMessageinvokeLiquibaseProzess(ELiquibaseCmd lbCmd, String file, liquibase.Contexts context)Deprecated, for removal: This API element is subject to removal in a future version.static booleanisRunning()Deprecated, for removal: This API element is subject to removal in a future version.static booleanisUpToDate()Deprecated, for removal: This API element is subject to removal in a future version.static booleanupdateDatabase(String file, String context)Deprecated.static booleanupdateDatabase(String file, liquibase.Contexts context)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Field Detail
-
MASTER_XML
public static final String MASTER_XML
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
CONTEXT_PRODUCTIVE
public static final String CONTEXT_PRODUCTIVE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
CONTEXT_TEST
public static final String CONTEXT_TEST
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
-
Method Detail
-
invokeLiquibaseProzess
public static FCMessage invokeLiquibaseProzess(ELiquibaseCmd lbCmd) throws liquibase.exception.DatabaseException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
liquibase.exception.DatabaseException
-
getUnrunChangesets
public static List<liquibase.changelog.ChangeSet> getUnrunChangesets() throws liquibase.exception.DatabaseException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
liquibase.exception.DatabaseException
-
areChangeSetsUnrun
public static boolean areChangeSetsUnrun(String... ids) throws liquibase.exception.DatabaseException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
liquibase.exception.DatabaseException
-
getUnrunChangesets
@Deprecated public static List<liquibase.changelog.ChangeSet> getUnrunChangesets(String file, String context) throws liquibase.exception.DatabaseException
Deprecated.
-
getUnrunChangesets
public static List<liquibase.changelog.ChangeSet> getUnrunChangesets(String file, liquibase.Contexts context) throws liquibase.exception.DatabaseException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
liquibase.exception.DatabaseException
-
areChangeSetsUnrun
@Deprecated public static boolean areChangeSetsUnrun(String file, String context, String... ids) throws liquibase.exception.DatabaseException
Deprecated.
-
areChangeSetsUnrun
public static boolean areChangeSetsUnrun(String file, liquibase.Contexts context, String... ids) throws liquibase.exception.DatabaseException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
liquibase.exception.DatabaseException
-
updateDatabase
@Deprecated public static boolean updateDatabase(String file, String context) throws liquibase.exception.DatabaseException
Deprecated.
-
updateDatabase
public static boolean updateDatabase(String file, liquibase.Contexts context) throws liquibase.exception.DatabaseException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
liquibase.exception.DatabaseException
-
dropDatabase
public static boolean dropDatabase(String file) throws liquibase.exception.DatabaseException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
liquibase.exception.DatabaseException
-
invokeLiquibaseProzess
@Deprecated public static FCMessage invokeLiquibaseProzess(ELiquibaseCmd lbCmd, String file, String context) throws liquibase.exception.DatabaseException
Deprecated.- Parameters:
lbCmd-ELiquibaseCmdto performfile-Stringpath to the liquibase changeset-filecontext-Stringthe liquibase context-name- Returns:
FCMessageas result of the execution- Throws:
liquibase.exception.DatabaseException- on errors
-
invokeLiquibaseProzess
public static FCMessage invokeLiquibaseProzess(ELiquibaseCmd lbCmd, String file, liquibase.Contexts context) throws liquibase.exception.DatabaseException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
liquibase.exception.DatabaseException
-
isUpToDate
public static boolean isUpToDate()
Deprecated, for removal: This API element is subject to removal in a future version.
-
isRunning
public static boolean isRunning()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-