CommandStep and call them with CommandFactory.getCommandDefinition(String...).public class SnapshotCommand extends AbstractCommand<SnapshotCommand.SnapshotCommandResult>
| Modifier and Type | Class and Description |
|---|---|
class |
SnapshotCommand.SnapshotCommandResult
Deprecated.
|
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED| Constructor and Description |
|---|
SnapshotCommand()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Database |
getDatabase()
Deprecated.
|
String |
getName()
Deprecated.
|
String |
getSerializerFormat()
Deprecated.
|
SnapshotListener |
getSnapshotListener()
Deprecated.
|
SnapshotCommand.SnapshotCommandResult |
run()
Deprecated.
Function that performs the actual logic.
|
void |
setDatabase(Database database)
Deprecated.
|
SnapshotCommand |
setSchemas(CatalogAndSchema... catalogAndSchema)
Deprecated.
|
SnapshotCommand |
setSchemas(String... schemas)
Deprecated.
|
SnapshotCommand |
setSerializerFormat(String serializerFormat)
Deprecated.
|
void |
setSnapshotListener(SnapshotListener snapshotListener)
Deprecated.
|
CommandValidationErrors |
validate()
Deprecated.
|
getArguments, getPrioritypublic String getName()
public void setDatabase(Database database)
public Database getDatabase()
public SnapshotCommand setSchemas(CatalogAndSchema... catalogAndSchema)
public SnapshotCommand setSchemas(String... schemas)
public String getSerializerFormat()
public SnapshotCommand setSerializerFormat(String serializerFormat)
public SnapshotListener getSnapshotListener()
public void setSnapshotListener(SnapshotListener snapshotListener)
public SnapshotCommand.SnapshotCommandResult run() throws Exception
LiquibaseCommandCommandFactory.execute(LiquibaseCommand)Exceptionpublic CommandValidationErrors validate()
Copyright © 2023 Liquibase.org. All rights reserved.