Package liquibase.precondition.core
Class RowCountPrecondition
java.lang.Object
liquibase.serializer.AbstractLiquibaseSerializable
liquibase.precondition.AbstractPrecondition
liquibase.precondition.core.RowCountPrecondition
- All Implemented Interfaces:
Precondition
,LiquibaseSerializable
-
Nested Class Summary
Nested classes/interfaces inherited from interface liquibase.serializer.LiquibaseSerializable
LiquibaseSerializable.SerializationType
-
Field Summary
Fields inherited from interface liquibase.serializer.LiquibaseSerializable
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) protected String
getFailureMessage
(long result, long expectedRows) getName()
void
setCatalogName
(String catalogName) void
setExpectedRows
(Long expectedRows) void
setSchemaName
(String schemaName) void
setTableName
(String tableName) Methods inherited from class liquibase.precondition.AbstractPrecondition
getSerializedObjectName
Methods inherited from class liquibase.serializer.AbstractLiquibaseSerializable
convertEscaped, getSerializableFieldDataTypeClass, getSerializableFieldDataTypeClassParameters, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, load, serialize, serializeValue, setSerializableFieldValue, shouldAutoLoad
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface liquibase.serializer.LiquibaseSerializable
getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, serialize
Methods inherited from interface liquibase.precondition.Precondition
load
-
Constructor Details
-
RowCountPrecondition
public RowCountPrecondition()
-
-
Method Details
-
getCatalogName
-
setCatalogName
-
getSchemaName
-
setSchemaName
-
getTableName
-
setTableName
-
getExpectedRows
-
setExpectedRows
-
warn
-
validate
-
check
public void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) throws PreconditionFailedException, PreconditionErrorException -
getFailureMessage
-
getSerializedObjectNamespace
-
getName
-