CommandStep
and call them with CommandFactory.getCommandDefinition(String...)
.public class DiffCommand extends AbstractCommand<CommandResult>
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
Constructor and Description |
---|
DiffCommand()
Deprecated.
|
getArguments, getPriority
public String getName()
public CommandValidationErrors validate()
public Database getReferenceDatabase()
public DiffCommand setReferenceDatabase(Database referenceDatabase)
public Database getTargetDatabase()
public DiffCommand setTargetDatabase(Database targetDatabase)
public Class<? extends DatabaseObject>[] getSnapshotTypes()
public DiffCommand setSnapshotTypes(String... snapshotTypes)
public DiffCommand setSnapshotTypes(Class<? extends DatabaseObject>... snapshotTypes)
public PrintStream getOutputStream()
public DiffCommand setOutputStream(PrintStream outputStream)
public SnapshotControl getReferenceSnapshotControl()
public DiffCommand setReferenceSnapshotControl(SnapshotControl referenceSnapshotControl)
public SnapshotControl getTargetSnapshotControl()
public DiffCommand setTargetSnapshotControl(SnapshotControl targetSnapshotControl)
public SnapshotListener getSnapshotListener()
public DiffCommand setSnapshotListener(SnapshotListener snapshotListener)
public CompareControl getCompareControl()
public DiffCommand setCompareControl(CompareControl compareControl)
public ObjectChangeFilter getObjectChangeFilter()
public DiffCommand setObjectChangeFilter(ObjectChangeFilter objectChangeFilter)
public CommandResult run() throws Exception
LiquibaseCommand
CommandFactory.execute(LiquibaseCommand)
Exception
Copyright © 2023 Liquibase.org. All rights reserved.