Package liquibase.command.core
Class GenerateChangeLogCommand
- java.lang.Object
-
- liquibase.command.AbstractCommand<CommandResult>
-
- liquibase.command.core.DiffCommand
-
- liquibase.command.core.DiffToChangeLogCommand
-
- liquibase.command.core.GenerateChangeLogCommand
-
- All Implemented Interfaces:
LiquibaseCommand<CommandResult>
,Plugin
public class GenerateChangeLogCommand extends DiffToChangeLogCommand
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 GenerateChangeLogCommand()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAuthor()
Deprecated.String
getContext()
Deprecated.String
getName()
Deprecated.CommandResult
run()
Deprecated.Function that performs the actual logic.GenerateChangeLogCommand
setAuthor(String author)
Deprecated.GenerateChangeLogCommand
setContext(String context)
Deprecated.-
Methods inherited from class liquibase.command.core.DiffToChangeLogCommand
getChangeLogFile, getDiffOutputControl, getOutputStream, setChangeLogFile, setDiffOutputControl, setOutputStream
-
Methods inherited from class liquibase.command.core.DiffCommand
getCompareControl, getObjectChangeFilter, getReferenceDatabase, getReferenceSnapshotControl, getSnapshotListener, getSnapshotTypes, getTargetDatabase, getTargetSnapshotControl, setCompareControl, setObjectChangeFilter, setReferenceDatabase, setReferenceSnapshotControl, setSnapshotListener, setSnapshotTypes, setSnapshotTypes, setTargetDatabase, setTargetSnapshotControl, validate
-
Methods inherited from class liquibase.command.AbstractCommand
getArguments, getPriority
-
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.- Specified by:
getName
in interfaceLiquibaseCommand<CommandResult>
- Overrides:
getName
in classDiffToChangeLogCommand
-
getAuthor
public String getAuthor()
Deprecated.
-
setAuthor
public GenerateChangeLogCommand setAuthor(String author)
Deprecated.
-
getContext
public String getContext()
Deprecated.
-
setContext
public GenerateChangeLogCommand setContext(String context)
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)
- Specified by:
run
in interfaceLiquibaseCommand<CommandResult>
- Overrides:
run
in classDiffToChangeLogCommand
- Throws:
Exception
-
-