Package liquibase.command.core
Class HistoryCommand
- java.lang.Object
-
- liquibase.command.AbstractCommand
-
- liquibase.command.core.HistoryCommand
-
- All Implemented Interfaces:
LiquibaseCommand,Plugin
public class HistoryCommand extends AbstractCommand
Deprecated.Implement commands withCommandStepand call them withCommandFactory.getCommandDefinition(String...).
-
-
Field Summary
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Constructor Summary
Constructors Constructor Description HistoryCommand()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DatabasegetDatabase()Deprecated.StringgetName()Deprecated.PrintStreamgetOutputStream()Deprecated.CommandResultrun()Deprecated.Function that performs the actual logic.voidsetDatabase(Database database)Deprecated.voidsetOutputStream(PrintStream outputStream)Deprecated.CommandValidationErrorsvalidate()Deprecated.-
Methods inherited from class liquibase.command.AbstractCommand
getArguments, getPriority
-
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.
-
validate
public CommandValidationErrors validate()
Deprecated.
-
getDatabase
public Database getDatabase()
Deprecated.
-
setDatabase
public void setDatabase(Database database)
Deprecated.
-
getOutputStream
public PrintStream getOutputStream()
Deprecated.
-
setOutputStream
public void setOutputStream(PrintStream outputStream)
Deprecated.
-
run
public CommandResult 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
-
-