Package liquibase.ext2.cm.change
Class UpgradeSchema
- java.lang.Object
-
- liquibase.change.AbstractChange
-
- liquibase.ext2.cm.change.AbstractCmChange
-
- liquibase.ext2.cm.change.AbstractSchemaChange
-
- liquibase.ext2.cm.change.UpgradeSchema
-
- All Implemented Interfaces:
liquibase.change.Change
,liquibase.serializer.LiquibaseSerializable
public class UpgradeSchema extends AbstractSchemaChange
Used in changelog.xml
-
-
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 UpgradeSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description liquibase.statement.SqlStatement[]
generateStatements(liquibase.database.Database database)
protected String
getChangeName()
protected 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)
- Overrides:
validate
in classAbstractSchemaChange
-
getChangeName
protected String getChangeName()
- Specified by:
getChangeName
in classAbstractSchemaChange
-
getCmFunction
protected AbstractCmChange.RunnableWithException getCmFunction(ConfigurationManagerService m)
- Specified by:
getCmFunction
in classAbstractSchemaChange
-
getConfirmationMessage
public String getConfirmationMessage()
- Specified by:
getConfirmationMessage
in interfaceliquibase.change.Change
- Overrides:
getConfirmationMessage
in classAbstractSchemaChange
-
generateStatements
public liquibase.statement.SqlStatement[] generateStatements(liquibase.database.Database database)
- Specified by:
generateStatements
in interfaceliquibase.change.Change
- Overrides:
generateStatements
in classAbstractSchemaChange
-
getId
public String getId()
- Overrides:
getId
in classAbstractSchemaChange
-
setId
public void setId(String id)
- Overrides:
setId
in classAbstractSchemaChange
-
getXsdFileName
public String getXsdFileName()
- Overrides:
getXsdFileName
in classAbstractSchemaChange
-
setXsdFileName
public void setXsdFileName(String xsdFileName)
- Overrides:
setXsdFileName
in classAbstractSchemaChange
-
getXsdFileHash
public String getXsdFileHash()
- Overrides:
getXsdFileHash
in classAbstractSchemaChange
-
setXsdFileHash
public void setXsdFileHash(String xsdHash)
- Overrides:
setXsdFileHash
in classAbstractSchemaChange
-
getRootElement
public String getRootElement()
- Overrides:
getRootElement
in classAbstractSchemaChange
-
setRootElement
public void setRootElement(String rootElement)
- Overrides:
setRootElement
in classAbstractSchemaChange
-
-