Top Fields Constructors Methods
liquibase.command.core

public Class HistoryCommand

extends AbstractCommand
Class Inheritance
Imports
liquibase.command.AbstractCommand, .CommandResult, .CommandScope, .CommandValidationErrors, liquibase.database.Database, java.io.PrintStream, java.text.DateFormat

Deprecated

Implement commands with liquibase.command.CommandStep and call them with liquibase.command.CommandFactory#getCommandDefinition(String...).

Field Summary

Modifier and TypeField and Description
private Database
private final DateFormat
private HistoryFormat
private PrintStream

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Database
public String
public PrintStream
public CommandResult
run()

Implements liquibase.command.LiquibaseCommand.run.

References Deprecated CommandResult is deprecated or references (maybe indirectly) at least one deprecated element.

Function that performs the actual logic.

public void
public void
public CommandValidationErrors
validate()

Implements liquibase.command.LiquibaseCommand.validate.

References Deprecated CommandValidationErrors is deprecated or references (maybe indirectly) at least one deprecated element.

Inherited from liquibase.command.AbstractCommand:
getArgumentsgetPriority

Field Detail

databaseback to summary
private Database database
dateFormatback to summary
private final DateFormat dateFormat
formatback to summary
private HistoryFormat format
outputStreamback to summary
private PrintStream outputStream

Constructor Detail

HistoryCommandback to summary
public HistoryCommand()

Method Detail

getDatabaseback to summary
public Database getDatabase()
getNameback to summary
public String getName()

Implements liquibase.command.LiquibaseCommand.getName.

Annotations
@Override
getOutputStreamback to summary
public PrintStream getOutputStream()
runback to summary
public CommandResult run() throws Exception

Implements liquibase.command.LiquibaseCommand.run.

Doc from liquibase.command.LiquibaseCommand.run.

References Deprecated

CommandResult is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Function that performs the actual logic. This should not be called directly by any code, only by CommandFactory#execute(LiquibaseCommand)

Annotations
@Override
setDatabaseback to summary
public void setDatabase(Database database)
setOutputStreamback to summary
public void setOutputStream(PrintStream outputStream)
validateback to summary
public CommandValidationErrors validate()

Implements liquibase.command.LiquibaseCommand.validate.

References Deprecated

CommandValidationErrors is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Annotations
@Override