public class PreconditionContainer extends AndPrecondition implements ChangeLogChild
| Modifier and Type | Class and Description |
|---|---|
static class |
PreconditionContainer.ErrorOption |
static class |
PreconditionContainer.FailOption |
static class |
PreconditionContainer.OnSqlOutputOption |
LiquibaseSerializable.SerializationTypeGENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE| Constructor and Description |
|---|
PreconditionContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(Database database,
DatabaseChangeLog changeLog,
ChangeSet changeSet) |
String |
getName() |
PreconditionContainer.ErrorOption |
getOnError() |
String |
getOnErrorMessage() |
PreconditionContainer.FailOption |
getOnFail() |
String |
getOnFailMessage() |
PreconditionContainer.OnSqlOutputOption |
getOnSqlOutput() |
String |
getSerializedObjectNamespace() |
void |
load(ParsedNode parsedNode,
ResourceAccessor resourceAccessor) |
void |
setOnError(String onError) |
void |
setOnErrorMessage(String onErrorMessage) |
void |
setOnFail(String onFail) |
void |
setOnFailMessage(String onFailMessage) |
void |
setOnSqlOutput(PreconditionContainer.OnSqlOutputOption onSqlOutput) |
void |
setOnSqlOutput(String onSqlOutput) |
validate, warnaddNestedPrecondition, getNestedPreconditions, toPreconditiongetSerializedObjectNameconvertEscaped, getSerializableFieldDataTypeClass, getSerializableFieldDataTypeClassParameters, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, serialize, serializeValue, setSerializableFieldValue, shouldAutoLoadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, serializepublic PreconditionContainer.FailOption getOnFail()
public void setOnFail(String onFail)
public PreconditionContainer.ErrorOption getOnError()
public void setOnError(String onError)
public PreconditionContainer.OnSqlOutputOption getOnSqlOutput()
public void setOnSqlOutput(String onSqlOutput)
public void setOnSqlOutput(PreconditionContainer.OnSqlOutputOption onSqlOutput)
public String getOnFailMessage()
public void setOnFailMessage(String onFailMessage)
public String getOnErrorMessage()
public void setOnErrorMessage(String onErrorMessage)
public void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet) throws PreconditionFailedException, PreconditionErrorException
check in interface Preconditioncheck in class AndPreconditionPreconditionFailedExceptionPreconditionErrorExceptionpublic String getSerializedObjectNamespace()
getSerializedObjectNamespace in interface LiquibaseSerializablegetSerializedObjectNamespace in class AndPreconditionpublic void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException
load in interface Preconditionload in interface LiquibaseSerializableload in class PreconditionLogicParsedNodeExceptionpublic String getName()
getName in interface PreconditiongetName in class AndPreconditionCopyright © 2018 Liquibase.org. All rights reserved.