public abstract class AbstractCommandStep extends Object implements CommandStep
CommandStep implementations.ORDER_DEFAULT, ORDER_NOT_APPLICABLE| Constructor and Description |
|---|
AbstractCommandStep() |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustCommandDefinition(CommandDefinition commandDefinition)
Default implementation makes no changes
|
int |
getOrder(CommandDefinition commandDefinition)
The order in the pipeline that this step should be executed in.
|
void |
validate(CommandScope commandScope)
Default implementation does no additional validation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefineCommandNames, runpublic int getOrder(CommandDefinition commandDefinition)
CommandStepCommandDefinition.getName() but it can check other things in the definition such as arguments.getOrder in interface CommandStepCommandStep.ORDER_DEFAULT if the command scope's name matches CommandStep.defineCommandNames(). Otherwise CommandStep.ORDER_NOT_APPLICABLEpublic void validate(CommandScope commandScope) throws CommandValidationException
validate in interface CommandStepCommandValidationExceptionpublic void adjustCommandDefinition(CommandDefinition commandDefinition)
adjustCommandDefinition in interface CommandStepCopyright © 2022 Liquibase.org. All rights reserved.