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 withCommandStep
and 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 Database
getDatabase()
Deprecated.String
getName()
Deprecated.PrintStream
getOutputStream()
Deprecated.CommandResult
run()
Deprecated.Function that performs the actual logic.void
setDatabase(Database database)
Deprecated.void
setOutputStream(PrintStream outputStream)
Deprecated.CommandValidationErrors
validate()
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:LiquibaseCommand
Function that performs the actual logic. This should not be called directly by any code, only byCommandFactory.execute(LiquibaseCommand)
- Throws:
Exception
-
-