Package com.google.gerrit.server.config
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 TypeMethodDescriptionfromUserPreferences
(com.google.gerrit.proto.Entities.UserPreferences userPreferences)
-
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
-
getJavaDefaults
T getJavaDefaults()
-