Class LiquibaseMigrationUtils
java.lang.Object
de.xima.fc.liquibase.LiquibaseMigrationUtils
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.
Use
SystemPersistenceManager.migrateSchema() instead. To check if the schema is up to date, use
SystemPersistenceHealthProvider.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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> 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 FCMessageDeprecated, 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 booleanDeprecated, for removal: This API element is subject to removal in a future version.static booleanDeprecated, 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 Details
-
MASTER_XML
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
CONTEXT_PRODUCTIVE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
CONTEXT_TEST
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
LiquibaseMigrationUtils
public LiquibaseMigrationUtils()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
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.DatabaseExceptionDeprecated, 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
-
areChangeSetsUnrun
@Deprecated public static boolean areChangeSetsUnrun(String file, String context, String... ids) throws liquibase.exception.DatabaseException Deprecated. -
areChangeSetsUnrun
-
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
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.
-
areChangeSetsUnrun(String, Contexts, String...)