Class PreferencesParserUtil.DiffPreferencesParser

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

public static class PreferencesParserUtil.DiffPreferencesParser extends Object
Provides methods for parsing DiffPreferencesInfo configs
  • Field Details

  • Method Details

    • parse

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

      public DiffPreferencesInfo 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 DiffPreferencesInfo getJavaDefaults()