Package liquibase.command
Class AbstractCommand<T extends CommandResult>
- java.lang.Object
-
- liquibase.command.AbstractCommand<T>
-
- All Implemented Interfaces:
LiquibaseCommand<T>
,Plugin
- Direct Known Subclasses:
DiffCommand
,HistoryCommand
,SnapshotCommand
public abstract class AbstractCommand<T extends CommandResult> extends Object implements LiquibaseCommand<T>
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 AbstractCommand()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SortedSet<CommandArgument>
getArguments()
Deprecated.int
getPriority(String commandName)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface liquibase.command.LiquibaseCommand
getName, run, validate
-
-
-
-
Method Detail
-
getPriority
public int getPriority(String commandName)
Deprecated.- Specified by:
getPriority
in interfaceLiquibaseCommand<T extends CommandResult>
-
getArguments
public SortedSet<CommandArgument> getArguments()
Deprecated.- Specified by:
getArguments
in interfaceLiquibaseCommand<T extends CommandResult>
-
-