Package liquibase.command.core
Class SnapshotCommand
- java.lang.Object
-
- liquibase.command.AbstractCommand<SnapshotCommand.SnapshotCommandResult>
-
- liquibase.command.core.SnapshotCommand
-
- All Implemented Interfaces:
LiquibaseCommand<SnapshotCommand.SnapshotCommandResult>
,Plugin
public class SnapshotCommand extends AbstractCommand<SnapshotCommand.SnapshotCommandResult>
Deprecated.Implement commands withCommandStep
and call them withCommandFactory.getCommandDefinition(String...)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SnapshotCommand.SnapshotCommandResult
Deprecated.
-
Field Summary
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Constructor Summary
Constructors Constructor Description SnapshotCommand()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(String... schemas)
Deprecated.SnapshotCommand
setSchemas(CatalogAndSchema... catalogAndSchema)
Deprecated.SnapshotCommand
setSerializerFormat(String serializerFormat)
Deprecated.void
setSnapshotListener(SnapshotListener snapshotListener)
Deprecated.CommandValidationErrors
validate()
Deprecated.-
Methods inherited from class liquibase.command.AbstractCommand
getArguments, getPriority
-
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.
-
setDatabase
public void setDatabase(Database database)
Deprecated.
-
getDatabase
public Database getDatabase()
Deprecated.
-
setSchemas
public SnapshotCommand setSchemas(CatalogAndSchema... catalogAndSchema)
Deprecated.
-
setSchemas
public SnapshotCommand setSchemas(String... schemas)
Deprecated.
-
getSerializerFormat
public String getSerializerFormat()
Deprecated.
-
setSerializerFormat
public SnapshotCommand setSerializerFormat(String serializerFormat)
Deprecated.
-
getSnapshotListener
public SnapshotListener getSnapshotListener()
Deprecated.
-
setSnapshotListener
public void setSnapshotListener(SnapshotListener snapshotListener)
Deprecated.
-
run
public SnapshotCommand.SnapshotCommandResult 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
-
validate
public CommandValidationErrors validate()
Deprecated.
-
-