Class VersionedDefaultPreferences


public class VersionedDefaultPreferences extends VersionedConfigFile
Low-level storage API to load Gerrit's default config from All-Users. Should not be used directly.
  • Constructor Details

    • VersionedDefaultPreferences

      public VersionedDefaultPreferences()
  • Method Details

    • get

      public static org.eclipse.jgit.lib.Config get(org.eclipse.jgit.lib.Repository allUsersRepo, AllUsersName allUsersName) throws com.google.gerrit.exceptions.StorageException, org.eclipse.jgit.errors.ConfigInvalidException
      Throws:
      com.google.gerrit.exceptions.StorageException
      org.eclipse.jgit.errors.ConfigInvalidException
    • getConfig

      public org.eclipse.jgit.lib.Config getConfig()
      Overrides:
      getConfig in class VersionedConfigFile