public class SpatialSupportedPrecondition
extends AbstractPrecondition
SpatialSupportedPrecondition
checks the state of the database and determines if it
has spatial support.Constructor and Description |
---|
SpatialSupportedPrecondition() |
Modifier and Type | Method and Description |
---|---|
void |
check(Database database,
DatabaseChangeLog changeLog,
ChangeSet changeSet) |
String |
getName() |
Set<String> |
getSerializableFields() |
SerializationType |
getSerializableFieldType(String field) |
Object |
getSerializableFieldValue(String field) |
String |
getSerializedObjectName() |
String |
getSerializedObjectNamespace() |
void |
load(ParsedNode parsedNode,
ResourceAccessor resourceAccessor) |
ParsedNode |
serialize() |
ValidationErrors |
validate(Database database) |
Warnings |
warn(Database database) |
public String getName()
public Warnings warn(Database database)
public ValidationErrors validate(Database database)
public void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet) throws PreconditionFailedException, PreconditionErrorException
PreconditionFailedException
PreconditionErrorException
public String getSerializedObjectName()
liquibase.serializer.LiquibaseSerializable#getSerializedObjectName()
public Set<String> getSerializableFields()
liquibase.serializer.LiquibaseSerializable#getSerializableFields()
public Object getSerializableFieldValue(String field)
liquibase.serializer.LiquibaseSerializable#getSerializableFieldValue(java.lang.String)
public SerializationType getSerializableFieldType(String field)
liquibase.serializer.LiquibaseSerializable#getSerializableFieldType(java.lang.String)
public String getSerializedObjectNamespace()
liquibase.serializer.LiquibaseSerializable#getSerializedObjectNamespace()
public ParsedNode serialize() throws ParsedNodeException
ParsedNodeException
liquibase.serializer.LiquibaseSerializable#serialize()
public void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException
ParsedNodeException
liquibase.precondition.Precondition#load(liquibase.parser.core.ParsedNode,
liquibase.resource.ResourceAccessor)
Copyright © 2014–2015. All rights reserved.