Interface PreferencesParserUtil.PreferencesParser<T>

All Known Implementing Classes:
PreferencesParserUtil.DiffPreferencesParser, PreferencesParserUtil.EditPreferencesParser, PreferencesParserUtil.GeneralPreferencesParser
Enclosing class:
PreferencesParserUtil

public static interface PreferencesParserUtil.PreferencesParser<T>
Provides methods for parsing user configs
  • Method Summary

    Modifier and Type
    Method
    Description
    fromUserPreferences(com.google.gerrit.proto.Entities.UserPreferences userPreferences)
     
     
    parse(org.eclipse.jgit.lib.Config cfg, org.eclipse.jgit.lib.Config defaultConfig, T input)
     
    parse(T cfg, org.eclipse.jgit.lib.Config defaultConfig)
     
  • Method Details

    • parse

      T parse(org.eclipse.jgit.lib.Config cfg, org.eclipse.jgit.lib.Config defaultConfig, T input) throws org.eclipse.jgit.errors.ConfigInvalidException
      Throws:
      org.eclipse.jgit.errors.ConfigInvalidException
    • parse

      T parse(T cfg, org.eclipse.jgit.lib.Config defaultConfig) throws org.eclipse.jgit.errors.ConfigInvalidException
      Throws:
      org.eclipse.jgit.errors.ConfigInvalidException
    • fromUserPreferences

      T fromUserPreferences(com.google.gerrit.proto.Entities.UserPreferences userPreferences)
    • getJavaDefaults

      T getJavaDefaults()