Uses of Class
liquibase.Contexts
Packages that use Contexts
Package
Description
Liquibase top level namespace package.
-
Uses of Contexts in liquibase
Modifier and TypeMethodDescriptionvoidLiquibase.changeLogSync(String tag, Contexts contexts, LabelExpression labelExpression) Synchronizes the changelog with the database up to a specified tag.voidLiquibase.changeLogSync(String tag, Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.changeLogSync(Contexts contexts) Deprecated.use version with LabelExpressionvoidLiquibase.changeLogSync(Contexts contexts, LabelExpression labelExpression) voidLiquibase.changeLogSync(Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.checkLiquibaseTables(boolean updateExistingNullChecksums, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression) protected voidLiquibase.futureRollbackSQL(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output) protected voidLiquibase.futureRollbackSQL(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, boolean checkLiquibaseTables) voidLiquibase.futureRollbackSQL(Integer count, Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.futureRollbackSQL(Integer count, Contexts contexts, LabelExpression labelExpression, Writer output, boolean checkLiquibaseTables) voidLiquibase.futureRollbackSQL(String tag, Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.futureRollbackSQL(Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.generateDocumentation(String outputDirectory, Contexts contexts, LabelExpression labelExpression, CatalogAndSchema... schemaList) Liquibase.getChangeSetStatuses(Contexts contexts) Deprecated.use version with LabelExpressionLiquibase.getChangeSetStatuses(Contexts contexts, LabelExpression labelExpression) Liquibase.getChangeSetStatuses(Contexts contexts, LabelExpression labelExpression, boolean checkLiquibaseTables) Returns the ChangeSetStatuses of all changesets in the change log file and history in the order they would be ran.protected ChangeLogIteratorLiquibase.getStandardChangelogIterator(Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) Return a ChangeLogIterator constructed with standard filters for processing the specified changelog.protected booleanLiquibase.isUpToDateFastCheck(Contexts contexts, LabelExpression labelExpression) Deprecated.this method has been moved toFastCheckService, use that one instead.Liquibase.listUnexpectedChangeSets(Contexts contexts, LabelExpression labelExpression) Liquibase.listUnrunChangeSets(Contexts contexts) Deprecated.use version with LabelExpressionLiquibase.listUnrunChangeSets(Contexts contexts, LabelExpression labels) Liquibase.listUnrunChangeSets(Contexts contexts, LabelExpression labels, boolean checkLiquibaseTables) voidLiquibase.markNextChangeSetRan(Contexts contexts, LabelExpression labelExpression) voidLiquibase.markNextChangeSetRan(Contexts contexts, LabelExpression labelExpression, Writer output) booleanReturns true if the passed runtime contexts match this context expressionstatic booleanContextExpression.matchesAll(Collection<ContextExpression> expressions, Contexts contexts) voidLiquibase.reportStatus(boolean verbose, Contexts contexts, Writer out) voidLiquibase.reportStatus(boolean verbose, Contexts contexts, LabelExpression labels, Writer out) voidLiquibase.reportUnexpectedChangeSets(boolean verbose, Contexts contexts, LabelExpression labelExpression, Writer out) voidvoidLiquibase.rollback(int changesToRollback, String rollbackScript, Contexts contexts, LabelExpression labelExpression) Rolls back a specified number of changesets.voidLiquibase.rollback(int changesToRollback, String rollbackScript, Contexts contexts, LabelExpression labelExpression, Writer output) voidvoidLiquibase.rollback(int changesToRollback, Contexts contexts, LabelExpression labelExpression) voidLiquibase.rollback(int changesToRollback, Contexts contexts, LabelExpression labelExpression, Writer output) voidvoidvoidLiquibase.rollback(String tagToRollBackTo, String rollbackScript, Contexts contexts, LabelExpression labelExpression) Rolls back the database to a specific tag, using either a generated or user-defined rollback script.voidLiquibase.rollback(String tagToRollBackTo, String rollbackScript, Contexts contexts, LabelExpression labelExpression, Writer output) voidvoidvoidLiquibase.rollback(String tagToRollBackTo, Contexts contexts, LabelExpression labelExpression) voidLiquibase.rollback(String tagToRollBackTo, Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.rollback(Date dateToRollBackTo, String rollbackScript, Contexts contexts, LabelExpression labelExpression) Rolls back all changesets that were applied after the specified date.voidLiquibase.rollback(Date dateToRollBackTo, String rollbackScript, Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.rollback(Date dateToRollBackTo, Contexts contexts, LabelExpression labelExpression) voidLiquibase.rollback(Date dateToRollBackTo, Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.update(int changesToApply, Contexts contexts, LabelExpression labelExpression) Updates the database schema with the specified number of changesets, within the given contexts and matching the given label expression.voidLiquibase.update(int changesToApply, Contexts contexts, LabelExpression labelExpression, Writer output) voidvoidvoidLiquibase.update(String tag, Contexts contexts, LabelExpression labelExpression) Updates the database to a specified tag.voidLiquibase.update(String tag, Contexts contexts, LabelExpression labelExpression, Writer output) voidExecutes Liquibase "update" logic which ensures that the configuredDatabaseis up to date according to the configured changelog file.voidDeprecated.voidLiquibase.update(Contexts contexts, LabelExpression labelExpression) Executes Liquibase update with given contexts and label expression.voidLiquibase.update(Contexts contexts, LabelExpression labelExpression, boolean checkLiquibaseTables) Updates the database schema to the latest version.voidLiquibase.update(Contexts contexts, LabelExpression labelExpression, Writer output) Deprecated.voidLiquibase.update(Contexts contexts, LabelExpression labelExpression, Writer output, boolean checkLiquibaseTables) Deprecated.voidLiquibase.updateCountSql(int count, Contexts contexts, LabelExpression labelExpression, Writer output) voidLiquibase.updateSql(Contexts contexts, LabelExpression labelExpression, Writer output) Generates SQL for the update operation based on the provided contexts and label expression.voidLiquibase.updateTestingRollback(String tag, Contexts contexts, LabelExpression labelExpression) voidLiquibase.updateTestingRollback(Contexts contexts, LabelExpression labelExpression) voidLiquibase.updateToTagSql(String tag, Contexts contexts, LabelExpression labelExpression, Writer writer) ModifierConstructorDescriptionRuntimeEnvironment(Database targetDatabase, Contexts contexts, LabelExpression labelExpression) -
Uses of Contexts in liquibase.changelog
Methods in liquibase.changelog that return ContextsModifier and TypeMethodDescriptionChangeLogParameters.getContexts()Gets the contexts to filter calls toChangeLogParameters.getValue(String, DatabaseChangeLog)etc. with.Methods in liquibase.changelog with parameters of type ContextsModifier and TypeMethodDescriptionbooleanFastCheckService.isUpToDateFastCheck(List<ChangeSetFilter> changesetFilters, Database database, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression) Performs check of the historyService to determine if there is no unrun changesets without obtaining an exclusive write lock.voidChangeLogParameters.setContexts(Contexts contexts) Sets the contexts to filter calls toChangeLogParameters.getValue(String, DatabaseChangeLog)etc. with.voidAbstractChangeLogHistoryService.upgradeChecksums(DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labels) voidChangeLogHistoryService.upgradeChecksums(DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labels) Updates null checksum valuesvoidMockChangeLogHistoryService.upgradeChecksums(DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labels) voidStandardChangeLogHistoryService.upgradeChecksums(DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labels) voidDatabaseChangeLog.validate(Database database, Contexts contexts, LabelExpression labelExpression) -
Uses of Contexts in liquibase.changelog.filter
Constructors in liquibase.changelog.filter with parameters of type Contexts -
Uses of Contexts in liquibase.command.core
Methods in liquibase.command.core with parameters of type ContextsModifier and TypeMethodDescriptionprotected voidUpdateTestingRollbackCommandStep.finalUpdate(Liquibase liquibase, String tag, Contexts contexts, LabelExpression labelExpression) Runs the final update operation in the update-testing-rollback chainprotected voidAbstractFutureRollbackCommandStep.futureRollbackSQL(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, Database database, DatabaseChangeLog changeLog, ChangeExecListener changeExecListener) AbstractUpdateCommandStep.getStandardChangelogIterator(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) protected ChangeLogIteratorStatusCommandStep.getStandardChangelogIterator(Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog, Database database) UpdateCountCommandStep.getStandardChangelogIterator(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog databaseChangeLog) UpdateToTagCommandStep.getStandardChangelogIterator(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) protected List<ChangeSetFilter>AbstractUpdateCommandStep.getStandardChangelogIteratorFilters(Database database, Contexts contexts, LabelExpression labelExpression) AbstractUpdateCommandStep.getStatusChangelogIterator(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) UpdateCountCommandStep.getStatusChangelogIterator(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog databaseChangeLog) UpdateToTagCommandStep.getStatusChangelogIterator(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) protected voidUpdateTestingRollbackCommandStep.initialUpdate(Liquibase liquibase, String tag, Contexts contexts, LabelExpression labelExpression) Runs the first update operation in the update-testing-rollback chainbooleanAbstractUpdateCommandStep.isUpToDate(CommandScope commandScope, Database database, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression, OutputStream outputStream) Checks if the database is up-to-date.static Collection<RanChangeSet>UnexpectedChangesetsCommandStep.listUnexpectedChangeSets(Database database, DatabaseChangeLog changeLog, Contexts contexts, LabelExpression labelExpression) StatusCommandStep.listUnrunChangeSets(Contexts contexts, LabelExpression labels, DatabaseChangeLog changeLog, Database database) protected voidUpdateTestingRollbackCommandStep.rollbackUpdate(Liquibase liquibase, int changesetsToRollback, Contexts contexts, LabelExpression labelExpression) Runs the rollback operation in the update-testing-rollback chain which rolls back the initial update -
Uses of Contexts in liquibase.command.core.helpers
Methods in liquibase.command.core.helpers with parameters of type ContextsModifier and TypeMethodDescriptionstatic voidDatabaseChangelogCommandStep.addCommandFiltersMdc(LabelExpression labelExpression, Contexts contexts) -
Uses of Contexts in liquibase.integration
Methods in liquibase.integration with parameters of type ContextsModifier and TypeMethodDescriptionUnexpectedChangeSetsValidator.with(Contexts contexts, LabelExpression labelExpression)