Uses of Class
liquibase.command.CommandScope
Package
Description
-
Uses of CommandScope in liquibase.command
Modifier and TypeMethodDescriptionCommandScope.addArgumentValue
(String argument, Object value) Adds the given key/value pair to the stored argument data.<T> CommandScope
CommandScope.addArgumentValue
(CommandArgumentDefinition<T> argument, T value) Adds the given key/value pair to the stored argument data.CommandResults.getCommandScope()
TheCommandScope
that was executed to produce this result.CommandResultsBuilder.getCommandScope()
Return theCommandScope
the results are being built for.CommandScope.provideDependency
(Class<?> clazz, Object value) Assign a value to a given provided dependency.CommandScope.setOutput
(OutputStream outputStream) Sets the output stream for this command.Modifier and TypeMethodDescriptionprotected abstract String[]
AbstractCliWrapperCommandStep.collectArguments
(CommandScope commandScope) Deprecated.Called byAbstractCliWrapperCommandStep.run(CommandResultsBuilder)
to create the actual arguments passed toMain.run(String[])
.protected String[]
AbstractCliWrapperCommandStep.collectArguments
(CommandScope commandScope, List<String> commandArguments, String positionalArgumentName) Deprecated.Collects the values from commandScope into an argument array to pass toMain
.void
AbstractCommandStep.validate
(CommandScope commandScope) Default implementation does no additional validation.void
CommandArgumentDefinition.validate
(CommandScope commandScope) Validates that the value stored in the givenCommandScope
is valid.void
CommandStep.validate
(CommandScope commandScope) Validates that theCommandScope
is correctly set up for this step to run.ModifierConstructorDescriptionprotected
CommandResults
(SortedMap<String, Object> resultValues, CommandScope commandScope) -
Uses of CommandScope in liquibase.command.core
Modifier and TypeMethodDescriptionprotected SnapshotControl
SnapshotCommandStep.createSnapshotControl
(CommandScope commandScope, Database database) protected SnapshotControl
SnapshotReferenceCommandStep.createSnapshotControl
(CommandScope commandScope, Database database) protected void
AbstractUpdateCommandStep.customMdcLogging
(CommandScope commandScope) protected void
UpdateCountCommandStep.customMdcLogging
(CommandScope commandScope) protected void
UpdateToTagCommandStep.customMdcLogging
(CommandScope commandScope) protected static String
ExecuteSqlCommandStep.determineEndDelimiter
(CommandScope commandScope) abstract String
AbstractUpdateCommandStep.getChangelogFileArg
(CommandScope commandScope) UpdateCommandStep.getChangelogFileArg
(CommandScope commandScope) UpdateCountCommandStep.getChangelogFileArg
(CommandScope commandScope) UpdateSqlCommandStep.getChangelogFileArg
(CommandScope commandScope) UpdateToTagCommandStep.getChangelogFileArg
(CommandScope commandScope) abstract String
AbstractUpdateCommandStep.getContextsArg
(CommandScope commandScope) UpdateCommandStep.getContextsArg
(CommandScope commandScope) UpdateCountCommandStep.getContextsArg
(CommandScope commandScope) UpdateSqlCommandStep.getContextsArg
(CommandScope commandScope) UpdateToTagCommandStep.getContextsArg
(CommandScope commandScope) AbstractFutureRollbackCommandStep.getCount
(CommandScope commandScope) FutureRollbackCountSqlCommandStep.getCount
(CommandScope commandScope) abstract String
AbstractUpdateCommandStep.getLabelFilterArg
(CommandScope commandScope) UpdateCommandStep.getLabelFilterArg
(CommandScope commandScope) UpdateCountCommandStep.getLabelFilterArg
(CommandScope commandScope) UpdateSqlCommandStep.getLabelFilterArg
(CommandScope commandScope) UpdateToTagCommandStep.getLabelFilterArg
(CommandScope commandScope) abstract UpdateSummaryEnum
AbstractUpdateCommandStep.getShowSummary
(CommandScope commandScope) UpdateCommandStep.getShowSummary
(CommandScope commandScope) UpdateCountCommandStep.getShowSummary
(CommandScope commandScope) UpdateCountSqlCommandStep.getShowSummary
(CommandScope commandScope) UpdateSqlCommandStep.getShowSummary
(CommandScope commandScope) UpdateToTagCommandStep.getShowSummary
(CommandScope commandScope) UpdateToTagSqlCommandStep.getShowSummary
(CommandScope commandScope) AbstractUpdateCommandStep.getShowSummaryOutput
(CommandScope commandScope) DropAllCommandStep.getSnapshotControl
(CommandScope commandScope, Database database) AbstractUpdateCommandStep.getStandardChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) UpdateCountCommandStep.getStandardChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog databaseChangeLog) UpdateToTagCommandStep.getStandardChangelogIterator
(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog changeLog) 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) AbstractFutureRollbackCommandStep.getTag
(CommandScope commandScope) FutureRollbackFromTagSqlCommandStep.getTag
(CommandScope commandScope) boolean
AbstractUpdateCommandStep.isUpToDate
(CommandScope commandScope, Database database, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression, OutputStream outputStream) Checks if the database is up-to-date.protected void
AbstractUpdateCommandStep.preRun
(CommandScope commandScope, ChangeLogIterator runChangeLogIterator, ChangeLogParameters changeLogParameters) Executed before running any updates against the database.static String
InternalSnapshotCommandStep.printSnapshot
(CommandScope commandScope, CommandResults snapshotResults) void
ChangelogSyncCommandStep.validate
(CommandScope commandScope) void
DiffChangelogCommandStep.validate
(CommandScope commandScope) void
GenerateChangelogCommandStep.validate
(CommandScope commandScope) void
UpdateCommandStep.validate
(CommandScope commandScope) ModifierConstructorDescriptionLegacyDeploymentDetails
(CommandScope commandScope) TabularDeploymentDetails
(CommandScope commandScope) -
Uses of CommandScope in liquibase.command.core.helpers
Modifier and TypeMethodDescriptionDbUrlConnectionCommandStep.obtainDatabase
(CommandScope commandScope) Try to retrieve and set the database object from the command scope, otherwise creates a new one .protected static void
AbstractChangelogCommandStep.validateReplaceIfExistsTypes
(CommandScope commandScope) protected static void
AbstractChangelogCommandStep.validateRunOnChangeTypes
(CommandScope commandScope) -
Uses of CommandScope in liquibase.configuration
Modifier and TypeMethodDescriptionvoid
AbstractConfigurationValueProvider.validate
(CommandScope commandScope) Default implementation does no checkingvoid
ConfigurationValueProvider.validate
(CommandScope commandScope) Perform any validation of keys/values stored in this provider for the given commandScope. -
Uses of CommandScope in liquibase.configuration.core
Modifier and TypeMethodDescriptionvoid
DefaultsFileValueProvider.validate
(CommandScope commandScope) void
EnvironmentValueProvider.validate
(CommandScope commandScope) -
Uses of CommandScope in liquibase.integration.commandline
Modifier and TypeMethodDescriptionstatic CommandScope
CommandLineUtils.createDiffCommand
(Database referenceDatabase, Database targetDatabase, String snapshotTypes, CompareControl.SchemaComparison[] schemaComparisons, ObjectChangeFilter objectChangeFilter, PrintStream output) -
Uses of CommandScope in liquibase.io
Modifier and TypeMethodDescriptionvoid
OutputFileHandler.create
(String outputFile, CommandScope commandScope) Creates a new output file with the specified name and sets the output stream in the command scope.void
StandardOutputFileHandler.create
(String outputFile, CommandScope commandScope)