public abstract class AbstractCommandStep extends Object implements CommandStep
CommandStep implementations.| Modifier and Type | Field and Description |
|---|---|
protected static ResourceBundle |
coreBundle |
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.
|
List<Class<?>> |
providedDependencies()
Returns a list of all the dependency Classes that this step provides
|
List<Class<?>> |
requiredDependencies()
Return a list of configured Classes that this command requires to be passed as a dependency.
|
void |
validate(CommandScope commandScope)
Default implementation does no additional validation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefineCommandNames, runprotected static ResourceBundle coreBundle
public List<Class<?>> requiredDependencies()
CommandSteprequiredDependencies in interface CommandSteppublic List<Class<?>> providedDependencies()
CommandStepprovidedDependencies in interface CommandSteppublic 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 © 2023 Liquibase.org. All rights reserved.