Package liquibase.precondition
Class PreconditionLogic
java.lang.Object
liquibase.serializer.AbstractLiquibaseSerializable
liquibase.precondition.AbstractPrecondition
liquibase.precondition.PreconditionLogic
- All Implemented Interfaces:
Precondition
,LiquibaseSerializable
- Direct Known Subclasses:
AndPrecondition
,NotPrecondition
,OrPrecondition
Marker interface for precondition logic tags (and,or, not)
-
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
addNestedPrecondition
(Precondition precondition) void
load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) protected Precondition
toPrecondition
(ParsedNode node, ResourceAccessor resourceAccessor) Methods inherited from class liquibase.precondition.AbstractPrecondition
getSerializedObjectName
Methods inherited from class liquibase.serializer.AbstractLiquibaseSerializable
convertEscaped, getSerializableFieldDataTypeClass, getSerializableFieldDataTypeClassParameters, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, 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, getSerializedObjectNamespace, serialize
Methods inherited from interface liquibase.precondition.Precondition
check, getName, warn
-
Constructor Details
-
PreconditionLogic
public PreconditionLogic()
-
-
Method Details
-
getNestedPreconditions
-
addNestedPrecondition
-
validate
-
load
public void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException - Specified by:
load
in interfaceLiquibaseSerializable
- Specified by:
load
in interfacePrecondition
- Overrides:
load
in classAbstractLiquibaseSerializable
- Throws:
ParsedNodeException
-
toPrecondition
protected Precondition toPrecondition(ParsedNode node, ResourceAccessor resourceAccessor) throws ParsedNodeException - Throws:
ParsedNodeException
-