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 withCommandStep
and 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 String
getChangeLogFile()
Deprecated.DiffOutputControl
getDiffOutputControl()
Deprecated.String
getName()
Deprecated.PrintStream
getOutputStream()
Deprecated.CommandResult
run()
Deprecated.Function that performs the actual logic.DiffToChangeLogCommand
setChangeLogFile(String changeLogFile)
Deprecated.DiffToChangeLogCommand
setDiffOutputControl(DiffOutputControl diffOutputControl)
Deprecated.DiffToChangeLogCommand
setOutputStream(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:
getName
in interfaceLiquibaseCommand<CommandResult>
- Overrides:
getName
in classDiffCommand
-
getChangeLogFile
public String getChangeLogFile()
Deprecated.
-
setChangeLogFile
public DiffToChangeLogCommand setChangeLogFile(String changeLogFile)
Deprecated.
-
getOutputStream
public PrintStream getOutputStream()
Deprecated.- Overrides:
getOutputStream
in classDiffCommand
-
setOutputStream
public DiffToChangeLogCommand setOutputStream(PrintStream outputStream)
Deprecated.- Overrides:
setOutputStream
in classDiffCommand
-
getDiffOutputControl
public DiffOutputControl getDiffOutputControl()
Deprecated.
-
setDiffOutputControl
public DiffToChangeLogCommand setDiffOutputControl(DiffOutputControl diffOutputControl)
Deprecated.
-
run
public CommandResult run() throws Exception
Deprecated.Description copied from interface:LiquibaseCommand
Function that performs the actual logic. This should not be called directly by any code, only byCommandFactory.execute(LiquibaseCommand)
- Specified by:
run
in interfaceLiquibaseCommand<CommandResult>
- Overrides:
run
in classDiffCommand
- Throws:
Exception
-
-