Package liquibase.command.core
Class DiffCommand
- java.lang.Object
-
- liquibase.command.AbstractCommand<CommandResult>
-
- liquibase.command.core.DiffCommand
-
- All Implemented Interfaces:
LiquibaseCommand<CommandResult>
,Plugin
- Direct Known Subclasses:
DiffToChangeLogCommand
public class DiffCommand extends AbstractCommand<CommandResult>
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 DiffCommand()
Deprecated.
-
Method Summary
-
Methods inherited from class liquibase.command.AbstractCommand
getArguments, getPriority
-
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.
-
validate
public CommandValidationErrors validate()
Deprecated.
-
getReferenceDatabase
public Database getReferenceDatabase()
Deprecated.
-
setReferenceDatabase
public DiffCommand setReferenceDatabase(Database referenceDatabase)
Deprecated.
-
getTargetDatabase
public Database getTargetDatabase()
Deprecated.
-
setTargetDatabase
public DiffCommand setTargetDatabase(Database targetDatabase)
Deprecated.
-
getSnapshotTypes
public Class<? extends DatabaseObject>[] getSnapshotTypes()
Deprecated.
-
setSnapshotTypes
public DiffCommand setSnapshotTypes(String... snapshotTypes)
Deprecated.
-
setSnapshotTypes
public DiffCommand setSnapshotTypes(Class<? extends DatabaseObject>... snapshotTypes)
Deprecated.
-
getOutputStream
public PrintStream getOutputStream()
Deprecated.
-
setOutputStream
public DiffCommand setOutputStream(PrintStream outputStream)
Deprecated.
-
getReferenceSnapshotControl
public SnapshotControl getReferenceSnapshotControl()
Deprecated.
-
setReferenceSnapshotControl
public DiffCommand setReferenceSnapshotControl(SnapshotControl referenceSnapshotControl)
Deprecated.
-
getTargetSnapshotControl
public SnapshotControl getTargetSnapshotControl()
Deprecated.
-
setTargetSnapshotControl
public DiffCommand setTargetSnapshotControl(SnapshotControl targetSnapshotControl)
Deprecated.
-
getSnapshotListener
public SnapshotListener getSnapshotListener()
Deprecated.
-
setSnapshotListener
public DiffCommand setSnapshotListener(SnapshotListener snapshotListener)
Deprecated.
-
getCompareControl
public CompareControl getCompareControl()
Deprecated.
-
setCompareControl
public DiffCommand setCompareControl(CompareControl compareControl)
Deprecated.
-
getObjectChangeFilter
public ObjectChangeFilter getObjectChangeFilter()
Deprecated.
-
setObjectChangeFilter
public DiffCommand setObjectChangeFilter(ObjectChangeFilter objectChangeFilter)
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)
- Throws:
Exception
-
-