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 withCommandStepand call them withCommandFactory.getCommandDefinition(String...).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSnapshotCommand.SnapshotCommandResultDeprecated.
-
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 DatabasegetDatabase()Deprecated.StringgetName()Deprecated.StringgetSerializerFormat()Deprecated.SnapshotListenergetSnapshotListener()Deprecated.SnapshotCommand.SnapshotCommandResultrun()Deprecated.Function that performs the actual logic.voidsetDatabase(Database database)Deprecated.SnapshotCommandsetSchemas(String... schemas)Deprecated.SnapshotCommandsetSchemas(CatalogAndSchema... catalogAndSchema)Deprecated.SnapshotCommandsetSerializerFormat(String serializerFormat)Deprecated.voidsetSnapshotListener(SnapshotListener snapshotListener)Deprecated.CommandValidationErrorsvalidate()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:LiquibaseCommandFunction 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.
-
-