Package liquibase.ext2.cm.change
Class AbstractSchemaChange
- java.lang.Object
-
- liquibase.change.AbstractChange
-
- liquibase.ext2.cm.change.AbstractCmChange
-
- liquibase.ext2.cm.change.AbstractSchemaChange
-
- All Implemented Interfaces:
liquibase.change.Change
,liquibase.serializer.LiquibaseSerializable
- Direct Known Subclasses:
UpgradeSchema
public abstract class AbstractSchemaChange extends AbstractCmChange
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class liquibase.ext2.cm.change.AbstractCmChange
AbstractCmChange.RunnableWithException
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected String
rootElement
protected String
xsdFileHash
protected String
xsdFileName
-
Constructor Summary
Constructors Constructor Description AbstractSchemaChange()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description liquibase.statement.SqlStatement[]
generateStatements(liquibase.database.Database database)
protected abstract String
getChangeName()
protected abstract AbstractCmChange.RunnableWithException
getCmFunction(ConfigurationManagerService m)
String
getConfirmationMessage()
String
getId()
String
getRootElement()
String
getXsdFileHash()
String
getXsdFileName()
void
setId(String id)
void
setRootElement(String rootElement)
void
setXsdFileHash(String xsdHash)
void
setXsdFileName(String xsdFileName)
liquibase.exception.ValidationErrors
validate(CmDatabase database, liquibase.exception.ValidationErrors validationErrors)
-
Methods inherited from class liquibase.ext2.cm.change.AbstractCmChange
checkRequiredField, generateRollbackStatementsVolatile, generateStatementsVolatile, supports, validate
-
Methods inherited from class liquibase.change.AbstractChange
checkStatus, createChangeMetaData, createChangeParameterMetadata, createDescriptionMetaData, createEmptyColumnConfig, createExampleValueMetaData, createInverses, createMustEqualExistingMetaData, createRequiredDatabasesMetaData, createSerializationTypeMetaData, createSinceMetaData, createSupportedDatabasesMetaData, customLoadLogic, finishInitialization, generateCheckSum, generateRollbackStatements, getAffectedDatabaseObjects, getChangeSet, getDescription, getResourceAccessor, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, isInvalidProperty, load, serialize, serializeValue, setChangeSet, setResourceAccessor, supportsRollback, toString, warn
-
-
-
-
Method Detail
-
validate
public liquibase.exception.ValidationErrors validate(CmDatabase database, liquibase.exception.ValidationErrors validationErrors)
- Specified by:
validate
in classAbstractCmChange
-
getChangeName
protected abstract String getChangeName()
-
getCmFunction
protected abstract AbstractCmChange.RunnableWithException getCmFunction(ConfigurationManagerService m)
-
getConfirmationMessage
public String getConfirmationMessage()
-
generateStatements
public liquibase.statement.SqlStatement[] generateStatements(liquibase.database.Database database)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getXsdFileName
public String getXsdFileName()
-
setXsdFileName
public void setXsdFileName(String xsdFileName)
-
getXsdFileHash
public String getXsdFileHash()
-
setXsdFileHash
public void setXsdFileHash(String xsdHash)
-
getRootElement
public String getRootElement()
-
setRootElement
public void setRootElement(String rootElement)
-
-