Package liquibase.command.core.helpers
Class OutputWriterCommandStep
java.lang.Object
liquibase.command.AbstractCommandStep
liquibase.command.core.helpers.AbstractHelperCommandStep
liquibase.command.core.helpers.AbstractOutputWriterCommandStep
liquibase.command.core.helpers.OutputWriterCommandStep
- All Implemented Interfaces:
CleanUpCommandStep
,CommandStep
This helper class can be run prior to any command (but usually the *-sql commands, like update-sql) to redirect
the SQL to the console, rather than running it against an actual database. This has a dependency on
Database
.
If you need a writer and are operating against the reference database, use ReferenceDatabaseOutputWriterCommandStep
instead.-
Field Summary
Fields inherited from class liquibase.command.AbstractCommandStep
coreBundle
Fields inherited from interface liquibase.command.CommandStep
ORDER_DEFAULT, ORDER_NOT_APPLICABLE
-
Constructor Summary
-
Method Summary
Methods inherited from class liquibase.command.core.helpers.AbstractOutputWriterCommandStep
cleanUp, defineCommandNames, providedDependencies, requiredDependencies, run
Methods inherited from class liquibase.command.core.helpers.AbstractHelperCommandStep
adjustCommandDefinition
Methods inherited from class liquibase.command.AbstractCommandStep
getOrder, validate
-
Constructor Details
-
OutputWriterCommandStep
public OutputWriterCommandStep()
-
-
Method Details
-
getProvidedWriterDependency
Description copied from class:AbstractOutputWriterCommandStep
Get the dependency that is provided by this class. In some cases this isWriter
, but might be other similar classes depending on the implementation.- Specified by:
getProvidedWriterDependency
in classAbstractOutputWriterCommandStep
-
getDatabaseDependency
Description copied from class:AbstractOutputWriterCommandStep
Get the database dependency that is required by this class.- Specified by:
getDatabaseDependency
in classAbstractOutputWriterCommandStep
-