Top Fields Constructors Methods
liquibase.command.core

public Class DiffToChangeLogCommand

extends DiffCommand
Class Inheritance
Known Direct Subclasses
liquibase.command.core.GenerateChangeLogCommand
Imports
liquibase.command.CommandResult, .CommandScope, liquibase.command.core.helpers.DbUrlConnectionArgumentsCommandStep, .DiffOutputControlCommandStep, .PreCompareCommandStep, .ReferenceDbUrlConnectionCommandStep, liquibase.diff.output.DiffOutputControl, java.io.PrintStream

Deprecated

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

Field Summary

Modifier and TypeField and Description
private String
private DiffOutputControl
private PrintStream

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Overrides liquibase.command.core.DiffCommand.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 DiffToChangeLogCommand
setChangeLogFile(String changeLogFile)
References Deprecated DiffToChangeLogCommand is deprecated or references (maybe indirectly) at least one deprecated element.

public DiffToChangeLogCommand
setDiffOutputControl(DiffOutputControl diffOutputControl)
References Deprecated DiffToChangeLogCommand is deprecated or references (maybe indirectly) at least one deprecated element.

public DiffToChangeLogCommand
setOutputStream(PrintStream outputStream)

Overrides liquibase.command.core.DiffCommand.setOutputStream.

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

Inherited from liquibase.command.core.DiffCommand:
getCompareControlgetObjectChangeFiltergetReferenceDatabasegetReferenceSnapshotControlgetSnapshotListenergetSnapshotTypesgetTargetDatabasegetTargetSnapshotControlsetCompareControlsetObjectChangeFiltersetReferenceDatabasesetReferenceSnapshotControlsetSnapshotListenersetSnapshotTypessetSnapshotTypessetTargetDatabasesetTargetSnapshotControlvalidate

Field Detail

changeLogFileback to summary
private String changeLogFile
diffOutputControlback to summary
private DiffOutputControl diffOutputControl
outputStreamback to summary
private PrintStream outputStream

Hides liquibase.command.core.DiffCommand.outputStream.

Constructor Detail

DiffToChangeLogCommandback to summary
public DiffToChangeLogCommand()

Method Detail

getChangeLogFileback to summary
public String getChangeLogFile()
getDiffOutputControlback to summary
public DiffOutputControl getDiffOutputControl()
getNameback to summary
public String getName()

Overrides liquibase.command.core.DiffCommand.getName.

Implements liquibase.command.LiquibaseCommand.getName.

Annotations
@Override
getOutputStreamback to summary
public PrintStream getOutputStream()

Overrides liquibase.command.core.DiffCommand.getOutputStream.

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

Overrides liquibase.command.core.DiffCommand.run.

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
setChangeLogFileback to summary
public DiffToChangeLogCommand setChangeLogFile(String changeLogFile)

References Deprecated

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

See corresponding docs for further information.

setDiffOutputControlback to summary
public DiffToChangeLogCommand setDiffOutputControl(DiffOutputControl diffOutputControl)

References Deprecated

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

See corresponding docs for further information.

setOutputStreamback to summary
public DiffToChangeLogCommand setOutputStream(PrintStream outputStream)

Overrides liquibase.command.core.DiffCommand.setOutputStream.

References Deprecated

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

See corresponding docs for further information.

Annotations
@Override