Class MigrateLocalizedEntityChange
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.liquibase.MigrateLocalizedEntityChange
- All Implemented Interfaces:
liquibase.change.custom.CustomChange
,liquibase.change.custom.CustomTaskChange
public class MigrateLocalizedEntityChange
extends Object
implements liquibase.change.custom.CustomTaskChange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(liquibase.database.Database database) void
setFileOpener
(liquibase.resource.ResourceAccessor resourceAccessor) void
setMapLocalizedToLocalized
(String mapLocalizedToLocalized) void
setMapToLocalized
(String mapToLocalized) void
setSourceFields
(String sourceFields) void
setSourceTable
(String sourceTable) void
setTargetFields
(String targetFields) void
setTargetTable
(String targetTable) void
setUp()
void
setWhereClause
(String whereClause) liquibase.exception.ValidationErrors
validate
(liquibase.database.Database database)
-
Constructor Details
-
MigrateLocalizedEntityChange
public MigrateLocalizedEntityChange() -
MigrateLocalizedEntityChange
-
-
Method Details
-
execute
public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException - Specified by:
execute
in interfaceliquibase.change.custom.CustomTaskChange
- Throws:
liquibase.exception.CustomChangeException
-
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
-
getMapToLocalized
-
setMapToLocalized
-
getSourceFields
-
setSourceFields
-
getTargetFields
-
setTargetFields
-
getSourceTable
-
setSourceTable
-
getTargetTable
-
setTargetTable
-
getWhereClause
-
setWhereClause
-
getMapLocalizedToLocalized
-
setMapLocalizedToLocalized
-