Class BasePerformDataObjectSchemaDefinitionLiquibaseCommandCmd
- java.lang.Object
-
- com.flowable.dataobject.engine.impl.cmd.BasePerformDataObjectSchemaDefinitionLiquibaseCommandCmd
-
- Direct Known Subclasses:
PerformDataObjectSchemaDefinitionRollbackCmd
,PerformDataObjectSchemaDefinitionUpdateCmd
public abstract class BasePerformDataObjectSchemaDefinitionLiquibaseCommandCmd extends Object implements Command<Void>
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHANGELOG_PREFIX_MAX_LENGTH
The max allowed length for the changelog prefix.protected String
dataObjectSchemaDefinitionId
-
Constructor Summary
Constructors Constructor Description BasePerformDataObjectSchemaDefinitionLiquibaseCommandCmd(String dataObjectSchemaDefinitionId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Void
execute(CommandContext commandContext)
protected abstract void
executeLiquibaseCommand(DataObjectSchemaDefinitionLiquibaseBasedSchemaManager schemaManager)
protected String
extractChangeLogPrefix(String key)
-
-
-
Field Detail
-
CHANGELOG_PREFIX_MAX_LENGTH
public static final int CHANGELOG_PREFIX_MAX_LENGTH
The max allowed length for the changelog prefix. The max allowed length is 30 characters for a table name. Liquibase uses "databasechangeloglock" plus to prefix, which leaves us with 8 characters for the prefix plus an underscore.- See Also:
- Constant Field Values
-
dataObjectSchemaDefinitionId
protected final String dataObjectSchemaDefinitionId
-
-
Constructor Detail
-
BasePerformDataObjectSchemaDefinitionLiquibaseCommandCmd
public BasePerformDataObjectSchemaDefinitionLiquibaseCommandCmd(String dataObjectSchemaDefinitionId)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
executeLiquibaseCommand
protected abstract void executeLiquibaseCommand(DataObjectSchemaDefinitionLiquibaseBasedSchemaManager schemaManager)
-
-