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
public class OutputWriterCommandStep extends AbstractOutputWriterCommandStep
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 onDatabase
. If you need a writer and are operating against the reference database, useReferenceDatabaseOutputWriterCommandStep
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
Constructors Constructor Description OutputWriterCommandStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getDatabaseDependency()
Get the database dependency that is required by this class.Class<?>
getProvidedWriterDependency()
Get the dependency that is provided by this class.-
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
-
-
-
-
Method Detail
-
getProvidedWriterDependency
public Class<?> 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
public Class<?> getDatabaseDependency()
Description copied from class:AbstractOutputWriterCommandStep
Get the database dependency that is required by this class.- Specified by:
getDatabaseDependency
in classAbstractOutputWriterCommandStep
-
-