Class LanguageSynchronizeCheck

java.lang.Object
ch.tocco.nice2.userbase.impl.LanguageSynchronizeCheck
All Implemented Interfaces:
Runnable

@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 application.properties 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 application.properties file defines more available languages as there are.
      Specified by:
      run in interface Runnable