Class LocalizeFieldChange

java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.liquibase.LocalizeFieldChange
All Implemented Interfaces:
liquibase.change.custom.CustomChange, liquibase.change.custom.CustomTaskChange

public class LocalizeFieldChange extends Object implements liquibase.change.custom.CustomTaskChange
Used to localize a field after it has been created
  • Constructor Details

    • LocalizeFieldChange

      public LocalizeFieldChange()
  • Method Details

    • execute

      public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException
      Specified by:
      execute in interface liquibase.change.custom.CustomTaskChange
      Throws:
      liquibase.exception.CustomChangeException
    • getConfirmationMessage

      public String getConfirmationMessage()
      Specified by:
      getConfirmationMessage in interface liquibase.change.custom.CustomChange
    • setUp

      public void setUp() throws liquibase.exception.SetupException
      Specified by:
      setUp in interface liquibase.change.custom.CustomChange
      Throws:
      liquibase.exception.SetupException
    • setFileOpener

      public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
      Specified by:
      setFileOpener in interface liquibase.change.custom.CustomChange
    • validate

      public liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
      Specified by:
      validate in interface liquibase.change.custom.CustomChange
    • getColumnName

      public String getColumnName()
    • setColumnName

      public void setColumnName(String columnName)
    • getTableName

      public String getTableName()
    • setTableName

      public void setTableName(String tableName)
    • getColumnType

      public String getColumnType()
    • setColumnType

      public void setColumnType(String columnType)
    • setRemoveFields

      public void setRemoveFields(String removeFields)
    • getRemoveFields

      public String getRemoveFields()
    • isRemove

      public boolean isRemove()