Package liquibase.precondition.core
Class SqlPrecondition
java.lang.Object
liquibase.serializer.AbstractLiquibaseSerializable
liquibase.precondition.AbstractPrecondition
liquibase.precondition.core.SqlPrecondition
- 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) getName()
getSerializableFieldType
(String field) getSql()
void
setExpectedResult
(String expectedResult) void
Methods inherited from class liquibase.precondition.AbstractPrecondition
getSerializedObjectName
Methods inherited from class liquibase.serializer.AbstractLiquibaseSerializable
convertEscaped, getSerializableFieldDataTypeClass, getSerializableFieldDataTypeClassParameters, getSerializableFieldNamespace, getSerializableFields, 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, getSerializableFieldValue, serialize
Methods inherited from interface liquibase.precondition.Precondition
load
-
Constructor Details
-
SqlPrecondition
public SqlPrecondition()
-
-
Method Details
-
getExpectedResult
-
setExpectedResult
-
getSql
-
setSql
-
warn
-
validate
-
check
public void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) throws PreconditionFailedException, PreconditionErrorException -
getSerializedObjectNamespace
-
getName
-
getSerializableFieldType
- Specified by:
getSerializableFieldType
in interfaceLiquibaseSerializable
- Overrides:
getSerializableFieldType
in classAbstractLiquibaseSerializable
-