Uses of Class
liquibase.exception.ValidationErrors
Packages that use ValidationErrors
Package
Description
The change package contains the available database "changes".
Technically, a Change expresses an intention for alter the structure of the Database.
Although Liquibase tries to provide a wide range of database refactorings, there are times you may want to create
your own custom refactoring class.
-
Uses of ValidationErrors in liquibase.change
Methods in liquibase.change that return ValidationErrorsModifier and TypeMethodDescriptionImplementation checks the ChangeParameterMetaData for declared required fields and also delegates logic to theSqlGenerator.validate(liquibase.statement.SqlStatement, liquibase.database.Database, liquibase.sqlgenerator.SqlGeneratorChain)
method on theSqlStatement
objects returned byChange.generateStatements(liquibase.database.Database)
.Generate errors based on the configured Change instance. -
Uses of ValidationErrors in liquibase.change.core
Methods in liquibase.change.core that return ValidationErrorsModifier and TypeMethodDescriptionprotected ValidationErrors
LoadDataChange.validateColumns
(ValidationErrors validationErrors) Validate all columns and collect errors in 'validationErrors'Methods in liquibase.change.core with parameters of type ValidationErrorsModifier and TypeMethodDescriptionvoid
LoadDataChange.validateColumn
(LoadDataColumnConfig columnConfig, ValidationErrors validationErrors, String columnIDString) protected ValidationErrors
LoadDataChange.validateColumns
(ValidationErrors validationErrors) Validate all columns and collect errors in 'validationErrors' -
Uses of ValidationErrors in liquibase.change.custom
Methods in liquibase.change.custom that return ValidationErrorsModifier and TypeMethodDescriptionTests that the change is configured correctly before attempting to execute it.Call theCustomChange.validate(liquibase.database.Database)
method and return the result. -
Uses of ValidationErrors in liquibase.database
Methods in liquibase.database that return ValidationErrorsMethods in liquibase.database with parameters of type ValidationErrorsModifier and TypeMethodDescriptionstatic void
DatabaseList.validateDefinitions
(String definition, ValidationErrors vErrors) This method will validate whether a dbms (optional: comma separated list) is valid and match with supported database, if it doesn't then will add a validation error for it.static void
DatabaseList.validateDefinitions
(Collection<String> definitions, ValidationErrors vErrors) This method will validate if a set of definitions/dbms are valid supported DBs. -
Uses of ValidationErrors in liquibase.database.core
Methods in liquibase.database.core that return ValidationErrors -
Uses of ValidationErrors in liquibase.exception
Methods in liquibase.exception that return ValidationErrorsModifier and TypeMethodDescriptionValidationErrors.addAll
(ValidationErrors validationErrors) ValidationErrors.addWarning
(String message) ValidationErrors.checkRequiredField
(String requiredFieldName, Object value) Convenience method forcheckRequiredField(String, Object, String, boolean)
with allowEmptyValue=falseValidationErrors.checkRequiredField
(String requiredFieldName, Object value, boolean allowEmptyValue) Convenience method forcheckRequiredField(String, Object, String, boolean)
with a null postfixValidationErrors.checkRequiredField
(String requiredFieldName, Object value, String postfix) Convenience method forcheckRequiredField(String, Object, String, boolean)
with allowEmptyValue=falseValidationErrors.checkRequiredField
(String requiredFieldName, Object value, String postfix, boolean allowEmptyValue) Checks that the given value is set.Methods in liquibase.exception with parameters of type ValidationErrorsModifier and TypeMethodDescriptionValidationErrors.addAll
(ValidationErrors validationErrors) void
ValidationErrors.addAll
(ValidationErrors validationErrors, ChangeSet changeSet) -
Uses of ValidationErrors in liquibase.executor
Methods in liquibase.executor that return ValidationErrorsModifier and TypeMethodDescriptionValidate if the changeset can be executed by this ExecutorValidate if the changeset can be executed by this Executor If the ChangeSet can be executed return an empty ValidationErrors object otherwise return the errors -
Uses of ValidationErrors in liquibase.precondition
Methods in liquibase.precondition that return ValidationErrorsModifier and TypeMethodDescription -
Uses of ValidationErrors in liquibase.precondition.core
Methods in liquibase.precondition.core that return ValidationErrorsModifier and TypeMethodDescription -
Uses of ValidationErrors in liquibase.sqlgenerator
Methods in liquibase.sqlgenerator that return ValidationErrorsModifier and TypeMethodDescriptionSqlGenerator.validate
(T statement, Database database, SqlGeneratorChain<T> sqlGeneratorChain) Validate the data contained in the SqlStatement.SqlGeneratorFactory.validate
(SqlStatement statement, Database database) -
Uses of ValidationErrors in liquibase.sqlgenerator.core
Methods in liquibase.sqlgenerator.core that return ValidationErrorsModifier and TypeMethodDescriptionAddAutoIncrementGenerator.validate
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddAutoIncrementGeneratorDB2.validate
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddAutoIncrementGeneratorInformix.validate
(AddAutoIncrementStatement addAutoIncrementStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddAutoIncrementGeneratorMySQL.validate
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddAutoIncrementGeneratorSQLite.validate
(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddColumnGenerator.validate
(AddColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddColumnGeneratorDefaultClauseBeforeNotNull.validate
(AddColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddColumnGeneratorSQLite.validate
(AddColumnStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddDefaultValueGenerator.validate
(AddDefaultValueStatement addDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddDefaultValueGeneratorInformix.validate
(AddDefaultValueStatement addDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddDefaultValueGeneratorMySQL.validate
(AddDefaultValueStatement addDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddDefaultValueGeneratorSQLite.validate
(AddDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) AddForeignKeyConstraintGenerator.validate
(AddForeignKeyConstraintStatement addForeignKeyConstraintStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddPrimaryKeyGenerator.validate
(AddPrimaryKeyStatement addPrimaryKeyStatement, Database database, SqlGeneratorChain sqlGeneratorChain) AddUniqueConstraintGenerator.validate
(AddUniqueConstraintStatement addUniqueConstraintStatement, Database database, SqlGeneratorChain<AddUniqueConstraintStatement> sqlGeneratorChain) AlterSequenceGenerator.validate
(AlterSequenceStatement alterSequenceStatement, Database database, SqlGeneratorChain sqlGeneratorChain) BatchDmlExecutablePreparedStatementGenerator.validate
(BatchDmlExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) ClearDatabaseChangeLogTableGenerator.validate
(ClearDatabaseChangeLogTableStatement clearDatabaseChangeLogTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CommentGenerator.validate
(CommentStatement comment, Database database, SqlGeneratorChain sqlGeneratorChain) CopyRowsGenerator.validate
(CopyRowsStatement copyRowsStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateDatabaseChangeLogLockTableGenerator.validate
(CreateDatabaseChangeLogLockTableStatement createDatabaseChangeLogLockTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateDatabaseChangeLogTableGenerator.validate
(CreateDatabaseChangeLogTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateDatabaseChangeLogTableGeneratorSybase.validate
(CreateDatabaseChangeLogTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateIndexGenerator.validate
(CreateIndexStatement createIndexStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateIndexGeneratorFirebird.validate
(CreateIndexStatement createIndexStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateProcedureGenerator.validate
(CreateProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateSequenceGenerator.validate
(CreateSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateSequenceGeneratorSnowflake.validate
(CreateSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateTableGenerator.validate
(CreateTableStatement createTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateViewGenerator.validate
(CreateViewStatement createViewStatement, Database database, SqlGeneratorChain sqlGeneratorChain) CreateViewGeneratorInformix.validate
(CreateViewStatement createViewStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DeleteGenerator.validate
(DeleteStatement deleteStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropColumnGenerator.validate
(DropColumnStatement dropColumnStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropDefaultValueGenerator.validate
(DropDefaultValueStatement dropDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropForeignKeyConstraintGenerator.validate
(DropForeignKeyConstraintStatement dropForeignKeyConstraintStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropIndexGenerator.validate
(DropIndexStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) DropPrimaryKeyGenerator.validate
(DropPrimaryKeyStatement dropPrimaryKeyStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropProcedureGenerator.validate
(DropProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) DropSequenceGenerator.validate
(DropSequenceStatement dropSequenceStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropTableGenerator.validate
(DropTableStatement dropTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropUniqueConstraintGenerator.validate
(DropUniqueConstraintStatement dropUniqueConstraintStatement, Database database, SqlGeneratorChain sqlGeneratorChain) DropViewGenerator.validate
(DropViewStatement dropViewStatement, Database database, SqlGeneratorChain sqlGeneratorChain) GetNextChangeSetSequenceValueGenerator.validate
(GetNextChangeSetSequenceValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) GetViewDefinitionGenerator.validate
(GetViewDefinitionStatement getViewDefinitionStatement, Database database, SqlGeneratorChain sqlGeneratorChain) InitializeDatabaseChangeLogLockTableGenerator.validate
(InitializeDatabaseChangeLogLockTableStatement initializeDatabaseChangeLogLockTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) InsertDataChangeGenerator.validate
(InsertExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) InsertGenerator.validate
(InsertStatement insertStatement, Database database, SqlGeneratorChain sqlGeneratorChain) InsertOrUpdateGenerator.validate
(InsertOrUpdateStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) InsertSetGenerator.validate
(InsertSetStatement insertStatementSet, Database database, SqlGeneratorChain sqlGeneratorChain) LockDatabaseChangeLogGenerator.validate
(LockDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) MarkChangeSetRanGenerator.validate
(MarkChangeSetRanStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) ModifyDataTypeGenerator.validate
(ModifyDataTypeStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) RawParameterizedSqlGenerator.validate
(RawParameterizedSqlStatement statement, Database database, SqlGeneratorChain<RawParameterizedSqlStatement> sqlGeneratorChain) RawSqlGenerator.validate
(RawSqlStatement rawSqlStatement, Database database, SqlGeneratorChain sqlGeneratorChain) Deprecated.ReindexGeneratorSQLite.validate
(ReindexStatement reindexStatement, Database database, SqlGeneratorChain sqlGeneratorChain) RemoveChangeSetRanStatusGenerator.validate
(RemoveChangeSetRanStatusStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) RenameColumnGenerator.validate
(RenameColumnStatement renameColumnStatement, Database database, SqlGeneratorChain sqlGeneratorChain) RenameSequenceGenerator.validate
(RenameSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) RenameTableGenerator.validate
(RenameTableStatement renameTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) RenameViewGenerator.validate
(RenameViewStatement renameViewStatement, Database database, SqlGeneratorChain sqlGeneratorChain) ReorganizeTableGeneratorDB2.validate
(ReorganizeTableStatement reorganizeTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) RuntimeGenerator.validate
(RuntimeStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) SelectFromDatabaseChangeLogGenerator.validate
(SelectFromDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) SelectFromDatabaseChangeLogLockGenerator.validate
(SelectFromDatabaseChangeLogLockStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) SetColumnRemarksGenerator.validate
(SetColumnRemarksStatement setColumnRemarksStatement, Database database, SqlGeneratorChain sqlGeneratorChain) SetColumnRemarksGeneratorSnowflake.validate
(SetColumnRemarksStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) SetNullableGenerator.validate
(SetNullableStatement setNullableStatement, Database database, SqlGeneratorChain sqlGeneratorChain) SetTableRemarksGenerator.validate
(SetTableRemarksStatement setTableRemarksStatement, Database database, SqlGeneratorChain sqlGeneratorChain) SetViewRemarksGenerator.validate
(SetViewRemarksStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) StoredProcedureGenerator.validate
(StoredProcedureStatement storedProcedureStatement, Database database, SqlGeneratorChain sqlGeneratorChain) TableIsEmptyGenerator.validate
(TableIsEmptyStatement tableIsEmptyStatement, Database database, SqlGeneratorChain sqlGeneratorChain) TableRowCountGenerator.validate
(TableRowCountStatement dropColumnStatement, Database database, SqlGeneratorChain sqlGeneratorChain) TagDatabaseGenerator.validate
(TagDatabaseStatement tagDatabaseStatement, Database database, SqlGeneratorChain sqlGeneratorChain) UnlockDatabaseChangeLogGenerator.validate
(UnlockDatabaseChangeLogStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) UpdateChangeSetChecksumGenerator.validate
(UpdateChangeSetChecksumStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) UpdateDataChangeGenerator.validate
(UpdateExecutablePreparedStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) UpdateGenerator.validate
(UpdateStatement updateStatement, Database database, SqlGeneratorChain sqlGeneratorChain)