Package liquibase.precondition.core
Class PreconditionContainer
java.lang.Object
liquibase.serializer.AbstractLiquibaseSerializable
liquibase.precondition.AbstractPrecondition
liquibase.precondition.PreconditionLogic
liquibase.precondition.core.AndPrecondition
liquibase.precondition.core.PreconditionContainer
- All Implemented Interfaces:
ChangeLogChild
,Precondition
,LiquibaseSerializable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
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()
getSerializableFieldValue
(String field) void
load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
setOnError
(String onError) void
void
setOnErrorMessage
(String onErrorMessage) void
void
void
setOnFailMessage
(String onFailMessage) void
setOnSqlOutput
(String onSqlOutput) void
setOnSqlOutput
(PreconditionContainer.OnSqlOutputOption onSqlOutput) Methods inherited from class liquibase.precondition.core.AndPrecondition
warn
Methods inherited from class liquibase.precondition.PreconditionLogic
addNestedPrecondition, getNestedPreconditions, toPrecondition, validate
Methods inherited from class liquibase.precondition.AbstractPrecondition
getSerializedObjectName
Methods inherited from class liquibase.serializer.AbstractLiquibaseSerializable
convertEscaped, getSerializableFieldDataTypeClass, getSerializableFieldDataTypeClassParameters, getSerializableFieldNamespace, getSerializableFieldType, 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, getSerializableFieldType, getSerializedObjectName, serialize
-
Constructor Details
-
PreconditionContainer
public PreconditionContainer()
-
-
Method Details
-
getOnFail
-
setOnFail
-
setOnFail
-
getOnError
-
setOnError
-
setOnError
-
getOnSqlOutput
-
setOnSqlOutput
-
setOnSqlOutput
-
getOnFailMessage
-
setOnFailMessage
-
getOnErrorMessage
-
setOnErrorMessage
-
check
public void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet, ChangeExecListener changeExecListener) throws PreconditionFailedException, PreconditionErrorException - Specified by:
check
in interfacePrecondition
- Overrides:
check
in classAndPrecondition
- Throws:
PreconditionFailedException
PreconditionErrorException
-
getSerializedObjectNamespace
- Specified by:
getSerializedObjectNamespace
in interfaceLiquibaseSerializable
- Overrides:
getSerializedObjectNamespace
in classAndPrecondition
-
load
public void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException - Specified by:
load
in interfaceLiquibaseSerializable
- Specified by:
load
in interfacePrecondition
- Overrides:
load
in classPreconditionLogic
- Throws:
ParsedNodeException
-
getName
- Specified by:
getName
in interfacePrecondition
- Overrides:
getName
in classAndPrecondition
-
getSerializableFields
- Specified by:
getSerializableFields
in interfaceLiquibaseSerializable
- Overrides:
getSerializableFields
in classAbstractLiquibaseSerializable
-
getSerializableFieldValue
- Specified by:
getSerializableFieldValue
in interfaceLiquibaseSerializable
- Overrides:
getSerializableFieldValue
in classAbstractLiquibaseSerializable
-