Package liquibase.precondition.core
Class IndexExistsPrecondition
- java.lang.Object
-
- liquibase.serializer.AbstractLiquibaseSerializable
-
- liquibase.precondition.AbstractPrecondition
-
- liquibase.precondition.core.IndexExistsPrecondition
-
- All Implemented Interfaces:
Precondition
,LiquibaseSerializable
public class IndexExistsPrecondition extends AbstractPrecondition
-
-
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 IndexExistsPrecondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener)
String
getCatalogName()
String
getColumnNames()
String
getIndexName()
String
getName()
String
getSchemaName()
String
getSerializedObjectNamespace()
String
getTableName()
void
setCatalogName(String catalogName)
void
setColumnNames(String columnNames)
void
setIndexName(String indexName)
void
setSchemaName(String schemaName)
void
setTableName(String tableName)
String
toString()
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, 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()
-
getCatalogName
public String getCatalogName()
-
setCatalogName
public void setCatalogName(String catalogName)
-
getSchemaName
public String getSchemaName()
-
setSchemaName
public void setSchemaName(String schemaName)
-
getTableName
public String getTableName()
-
setTableName
public void setTableName(String tableName)
-
getIndexName
public String getIndexName()
-
setIndexName
public void setIndexName(String indexName)
-
getColumnNames
public String getColumnNames()
-
setColumnNames
public void setColumnNames(String columnNames)
-
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()
-
-