Package de.xima.fc.liquibase.change
Class AddMissingUUIDs
- java.lang.Object
-
- de.xima.fc.liquibase.change.AddMissingUUIDs
-
- All Implemented Interfaces:
liquibase.change.custom.CustomChange
,liquibase.change.custom.CustomSqlChange
public class AddMissingUUIDs extends Object implements liquibase.change.custom.CustomSqlChange
Custom change forLiquibase
to generate UUIDs using the formcycle internal UUID generator- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description AddMissingUUIDs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description liquibase.statement.SqlStatement[]
generateStatements(liquibase.database.Database database)
String
getConfirmationMessage()
String
getIdColumn()
String
getTable()
String
getTargetColumn()
void
setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
void
setIdColumn(String idColumn)
void
setTable(String table)
void
setTargetColumn(String targetColumn)
void
setUp()
liquibase.exception.ValidationErrors
validate(liquibase.database.Database database)
-
-
-
Method Detail
-
getTable
public String getTable()
-
setTable
public void setTable(String table)
-
getIdColumn
public String getIdColumn()
-
setIdColumn
public void setIdColumn(String idColumn)
-
getTargetColumn
public String getTargetColumn()
-
setTargetColumn
public void setTargetColumn(String targetColumn)
-
getConfirmationMessage
public String getConfirmationMessage()
- Specified by:
getConfirmationMessage
in interfaceliquibase.change.custom.CustomChange
-
setUp
public void setUp() throws liquibase.exception.SetupException
- Specified by:
setUp
in interfaceliquibase.change.custom.CustomChange
- Throws:
liquibase.exception.SetupException
-
setFileOpener
public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
- Specified by:
setFileOpener
in interfaceliquibase.change.custom.CustomChange
-
validate
public liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
- Specified by:
validate
in interfaceliquibase.change.custom.CustomChange
-
generateStatements
public liquibase.statement.SqlStatement[] generateStatements(liquibase.database.Database database) throws liquibase.exception.CustomChangeException
- Specified by:
generateStatements
in interfaceliquibase.change.custom.CustomSqlChange
- Throws:
liquibase.exception.CustomChangeException
-
-