public abstract class AbstractCommand<T extends CommandResult> extends Object implements LiquibaseCommand<T>
| Constructor and Description |
|---|
AbstractCommand() |
| Modifier and Type | Method and Description |
|---|---|
T |
execute()
Executes the command.
|
int |
getPriority(String commandName) |
protected abstract T |
run() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, validatepublic int getPriority(String commandName)
getPriority in interface LiquibaseCommand<T extends CommandResult>public final T execute() throws CommandExecutionException
LiquibaseCommandLiquibaseCommand.validate() as part of this method and throw CommandExecutionException if validation fails or there are any errors executing the command.execute in interface LiquibaseCommand<T extends CommandResult>CommandExecutionExceptionCopyright © 2019 Liquibase.org. All rights reserved.