Class CreateBusinessUnitFragment

java.lang.Object
ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
ch.tocco.nice2.dbrefactoring.impl.install.fragments.CreateBusinessUnitFragment
All Implemented Interfaces:
InstallFragment

@Component public class CreateBusinessUnitFragment extends JdbcHelper implements InstallFragment
creates business units that are defined in ${nice2.dbrefactoring.businessunits} but do not exist in the db fills non-nullable columns with its default value, empty value or a dummy value if those are null the created business units need to be configured afterwards by a user
  • Constructor Details

  • Method Details

    • install

      public FragmentReport install(InstallParameters params)
      Description copied from interface: InstallFragment
      Executes this fragments install routine and returns a report. This will affect all modules.
      Specified by:
      install in interface InstallFragment
      Returns:
      a report for this install fragment
    • setBusinessUnits

      @Value("${nice2.dbrefactoring.businessunits}") public void setBusinessUnits(String businessUnits)