Class BundleValidation

java.lang.Object
org.nuiton.i18n.plugin.bundle.BundleValidation

public class BundleValidation extends Object
The validation result of a validation check over multiple bundles.
Since:
3.5
  • Field Details

    • locales

      protected com.google.common.collect.ImmutableSortedSet<Locale> locales
    • keysMissingValues

      protected Map<Locale,SortedSet<String>> keysMissingValues
      to keep all none translated i18n keys by locale.
    • keysPerLocale

      protected com.google.common.collect.SortedSetMultimap<Locale,String> keysPerLocale
      Store all keys declared for each Locale.
    • localeOrdering

      protected com.google.common.collect.Ordering<Locale> localeOrdering
      Sort locales according to the order used in the POM file.
  • Constructor Details

    • BundleValidation

      public BundleValidation(Locale[] locales)
  • Method Details

    • getKeysMissingValues

      public Map<Locale,SortedSet<String>> getKeysMissingValues()
    • getKeysPerLocale

      public com.google.common.collect.SortedSetMultimap<Locale,String> getKeysPerLocale()
    • getMissingKeysPerLocale

      public com.google.common.collect.SortedSetMultimap<Locale,String> getMissingKeysPerLocale()
    • isAnyKeyMissingInBundle

      public boolean isAnyKeyMissingInBundle()
    • isAnyKeyMissingValue

      public boolean isAnyKeyMissingValue()
    • isFail

      public boolean isFail()
    • newEmptyMapForBundles

      protected com.google.common.collect.SortedSetMultimap<Locale,String> newEmptyMapForBundles()
      Factory method for a method suitable to deterministically store bundles.