Class PreferencesParserUtil.GeneralPreferencesParser

java.lang.Object
com.google.gerrit.server.config.PreferencesParserUtil.GeneralPreferencesParser
Enclosing class:
PreferencesParserUtil

public static class PreferencesParserUtil.GeneralPreferencesParser extends Object
Provides methods for parsing GeneralPreferencesInfo configs
  • Field Details

  • Method Details

    • parse

      public GeneralPreferencesInfo parse(org.eclipse.jgit.lib.Config cfg, org.eclipse.jgit.lib.Config defaultCfg, GeneralPreferencesInfo input) throws org.eclipse.jgit.errors.ConfigInvalidException
      Throws:
      org.eclipse.jgit.errors.ConfigInvalidException
    • fromUserPreferences

      public GeneralPreferencesInfo fromUserPreferences(com.google.gerrit.proto.Entities.UserPreferences p, org.eclipse.jgit.lib.Config defaultCfg) throws org.eclipse.jgit.errors.ConfigInvalidException
      Throws:
      org.eclipse.jgit.errors.ConfigInvalidException
    • getJavaDefaults

      public GeneralPreferencesInfo getJavaDefaults()