Package liquibase.command.core
Class DiffToChangeLogCommand
- java.lang.Object
-
- liquibase.command.AbstractCommand<CommandResult>
-
- liquibase.command.core.DiffCommand
-
- liquibase.command.core.DiffToChangeLogCommand
-
- All Implemented Interfaces:
LiquibaseCommand<CommandResult>,Plugin
- Direct Known Subclasses:
GenerateChangeLogCommand
public class DiffToChangeLogCommand extends DiffCommand
Deprecated.Implement commands withCommandStepand call them withCommandFactory.getCommandDefinition(String...).
-
-
Field Summary
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Constructor Summary
Constructors Constructor Description DiffToChangeLogCommand()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetChangeLogFile()Deprecated.DiffOutputControlgetDiffOutputControl()Deprecated.StringgetName()Deprecated.PrintStreamgetOutputStream()Deprecated.CommandResultrun()Deprecated.Function that performs the actual logic.DiffToChangeLogCommandsetChangeLogFile(String changeLogFile)Deprecated.DiffToChangeLogCommandsetDiffOutputControl(DiffOutputControl diffOutputControl)Deprecated.DiffToChangeLogCommandsetOutputStream(PrintStream outputStream)Deprecated.-
Methods inherited from class liquibase.command.core.DiffCommand
getCompareControl, getObjectChangeFilter, getReferenceDatabase, getReferenceSnapshotControl, getSnapshotListener, getSnapshotTypes, getTargetDatabase, getTargetSnapshotControl, setCompareControl, setObjectChangeFilter, setReferenceDatabase, setReferenceSnapshotControl, setSnapshotListener, setSnapshotTypes, setSnapshotTypes, setTargetDatabase, setTargetSnapshotControl, validate
-
Methods inherited from class liquibase.command.AbstractCommand
getArguments, getPriority
-
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.- Specified by:
getNamein interfaceLiquibaseCommand<CommandResult>- Overrides:
getNamein classDiffCommand
-
getChangeLogFile
public String getChangeLogFile()
Deprecated.
-
setChangeLogFile
public DiffToChangeLogCommand setChangeLogFile(String changeLogFile)
Deprecated.
-
getOutputStream
public PrintStream getOutputStream()
Deprecated.- Overrides:
getOutputStreamin classDiffCommand
-
setOutputStream
public DiffToChangeLogCommand setOutputStream(PrintStream outputStream)
Deprecated.- Overrides:
setOutputStreamin classDiffCommand
-
getDiffOutputControl
public DiffOutputControl getDiffOutputControl()
Deprecated.
-
setDiffOutputControl
public DiffToChangeLogCommand setDiffOutputControl(DiffOutputControl diffOutputControl)
Deprecated.
-
run
public CommandResult run() throws Exception
Deprecated.Description copied from interface:LiquibaseCommandFunction that performs the actual logic. This should not be called directly by any code, only byCommandFactory.execute(LiquibaseCommand)- Specified by:
runin interfaceLiquibaseCommand<CommandResult>- Overrides:
runin classDiffCommand- Throws:
Exception
-
-