public class DiffCommand extends AbstractCommand<CommandResult>
Constructor and Description |
---|
DiffCommand() |
execute, 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)
protected CommandResult run() throws Exception
run
in class AbstractCommand<CommandResult>
Exception
public DiffResult createDiffResult() throws DatabaseException, InvalidExampleException
protected DatabaseSnapshot createTargetSnapshot() throws DatabaseException, InvalidExampleException
protected DatabaseSnapshot createReferenceSnapshot() throws DatabaseException, InvalidExampleException
public DiffCommand setObjectChangeFilter(ObjectChangeFilter objectChangeFilter)
Copyright © 2021 Liquibase.org. All rights reserved.