Package liquibase.command.core.helpers
Class AbstractChangelogCommandStep
- java.lang.Object
-
- liquibase.command.AbstractCommandStep
-
- liquibase.command.core.helpers.AbstractChangelogCommandStep
-
- All Implemented Interfaces:
CommandStep
- Direct Known Subclasses:
DiffChangelogCommandStep
,GenerateChangelogCommandStep
public abstract class AbstractChangelogCommandStep extends AbstractCommandStep
-
-
Field Summary
Fields Modifier and Type Field Description protected static String[]
COMMAND_NAME
static CommandArgumentDefinition<String>
REPLACE_IF_EXISTS_TYPES_ARG
static CommandArgumentDefinition<String>
RUN_ON_CHANGE_TYPES_ARG
static CommandArgumentDefinition<Boolean>
SKIP_OBJECT_SORTING
-
Fields inherited from class liquibase.command.AbstractCommandStep
coreBundle
-
Fields inherited from interface liquibase.command.CommandStep
ORDER_DEFAULT, ORDER_NOT_APPLICABLE
-
-
Constructor Summary
Constructors Constructor Description AbstractChangelogCommandStep()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Stream<String>
supportedReplaceIfExistsTypes()
protected static Stream<String>
supportedRunOnChangeTypes()
protected static void
validateReplaceIfExistsTypes(CommandScope commandScope)
protected static void
validateRunOnChangeTypes(CommandScope commandScope)
-
Methods inherited from class liquibase.command.AbstractCommandStep
adjustCommandDefinition, getOrder, providedDependencies, requiredDependencies, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface liquibase.command.CommandStep
defineCommandNames, run
-
-
-
-
Field Detail
-
COMMAND_NAME
protected static final String[] COMMAND_NAME
-
RUN_ON_CHANGE_TYPES_ARG
public static final CommandArgumentDefinition<String> RUN_ON_CHANGE_TYPES_ARG
-
REPLACE_IF_EXISTS_TYPES_ARG
public static final CommandArgumentDefinition<String> REPLACE_IF_EXISTS_TYPES_ARG
-
SKIP_OBJECT_SORTING
public static final CommandArgumentDefinition<Boolean> SKIP_OBJECT_SORTING
-
-
Method Detail
-
validateRunOnChangeTypes
protected static void validateRunOnChangeTypes(CommandScope commandScope) throws CommandValidationException
- Throws:
CommandValidationException
-
validateReplaceIfExistsTypes
protected static void validateReplaceIfExistsTypes(CommandScope commandScope) throws CommandValidationException
- Throws:
CommandValidationException
-
-