Package liquibase.precondition.core
Class DBMSPrecondition
- java.lang.Object
-
- liquibase.serializer.AbstractLiquibaseSerializable
-
- liquibase.precondition.AbstractPrecondition
-
- liquibase.precondition.core.DBMSPrecondition
-
- All Implemented Interfaces:
Precondition
,LiquibaseSerializable
public class DBMSPrecondition extends AbstractPrecondition
Precondition for specifying the type of database (oracle, mysql, etc.).
-
-
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
Constructors Constructor Description DBMSPrecondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener)
String
getName()
String
getSerializedObjectNamespace()
String
getType()
void
setType(String atype)
ValidationErrors
validate(Database database)
Warnings
warn(Database database)
-
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
-
-
-
-
Method Detail
-
getSerializedObjectNamespace
public String getSerializedObjectNamespace()
-
getType
public String getType()
-
setType
public void setType(String atype)
-
validate
public ValidationErrors validate(Database database)
-
check
public void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) throws PreconditionFailedException, PreconditionErrorException
-
getName
public String getName()
-
-