Class LanguageSynchronizeCheck

All Implemented Interfaces:

@ConditionalOnProperty(value="ch.tocco.nice2.disableLanguageSync", havingValue="false", matchIfMissing=true) public class LanguageSynchronizeCheck extends Object implements Runnable
  • Constructor Details

  • Method Details

    • run

      public void run()
      Throws an IllegalArgumentException if the languages defined in the file are not the same than the available correspondence languages or the interface languages persisted in the database. A possible PersistException will be rethrown with a proper error message. This can happen if the file defines more available languages as there are.
      Specified by:
      run in interface Runnable