Package liquibase.precondition
Class CustomPreconditionWrapper
java.lang.Object
liquibase.serializer.AbstractLiquibaseSerializable
liquibase.precondition.AbstractPrecondition
liquibase.precondition.CustomPreconditionWrapper
- 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()
getParamValue
(String key) getSerializableFieldValue
(String field) void
load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
void
setClassName
(String className) void
protected boolean
shouldAutoLoad
(ParsedNode node) Methods inherited from class liquibase.precondition.AbstractPrecondition
getSerializedObjectName
Methods inherited from class liquibase.serializer.AbstractLiquibaseSerializable
convertEscaped, getSerializableFieldDataTypeClass, getSerializableFieldDataTypeClassParameters, getSerializableFieldNamespace, getSerializableFieldType, serialize, serializeValue, setSerializableFieldValue
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, getSerializableFieldType, serialize
-
Constructor Details
-
CustomPreconditionWrapper
public CustomPreconditionWrapper()
-
-
Method Details
-
getClassName
-
setClassName
-
setClass
-
getParamValue
-
setParam
-
warn
-
validate
-
check
public void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) throws PreconditionFailedException, PreconditionErrorException -
getSerializedObjectNamespace
-
getSerializableFields
- Specified by:
getSerializableFields
in interfaceLiquibaseSerializable
- Overrides:
getSerializableFields
in classAbstractLiquibaseSerializable
-
getSerializableFieldValue
- Specified by:
getSerializableFieldValue
in interfaceLiquibaseSerializable
- Overrides:
getSerializableFieldValue
in classAbstractLiquibaseSerializable
-
getName
-
shouldAutoLoad
- Overrides:
shouldAutoLoad
in classAbstractLiquibaseSerializable
-
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
-