Class GeneralPreferencesInfo
- java.lang.Object
-
- com.google.gerrit.extensions.client.GeneralPreferencesInfo
-
public class GeneralPreferencesInfo extends Object
Preferences about a single user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeneralPreferencesInfo.DateFormat
static class
GeneralPreferencesInfo.DefaultBase
static class
GeneralPreferencesInfo.DiffView
static class
GeneralPreferencesInfo.DownloadCommand
Preferred method to download a change.static class
GeneralPreferencesInfo.EmailFormat
static class
GeneralPreferencesInfo.EmailStrategy
static class
GeneralPreferencesInfo.Theme
static class
GeneralPreferencesInfo.TimeFormat
-
Field Summary
Fields Modifier and Type Field Description Boolean
allowBrowserNotifications
Integer
changesPerPage
Number of changes to show in a screen.List<String>
changeTable
GeneralPreferencesInfo.DateFormat
dateFormat
static int
DEFAULT_PAGESIZE
Default number of items to display per page.GeneralPreferencesInfo.DefaultBase
defaultBaseForMerges
GeneralPreferencesInfo.DiffView
diffView
Boolean
disableKeyboardShortcuts
Boolean
disableTokenHighlighting
String
downloadScheme
Type of download URL the user prefers to use.GeneralPreferencesInfo.EmailFormat
emailFormat
GeneralPreferencesInfo.EmailStrategy
emailStrategy
Boolean
expandInlineDiffs
Boolean
highlightAssigneeInChangeTable
Boolean
legacycidInChangeTable
Boolean
muteCommonPathPrefixes
List<MenuItem>
my
Boolean
publishCommentsOnPush
Boolean
relativeDateInChangeTable
Boolean
signedOffBy
Boolean
sizeBarInChangeTable
GeneralPreferencesInfo.Theme
theme
GeneralPreferencesInfo.TimeFormat
timeFormat
Boolean
workInProgressByDefault
-
Constructor Summary
Constructors Constructor Description GeneralPreferencesInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneralPreferencesInfo
defaults()
GeneralPreferencesInfo.DateFormat
getDateFormat()
GeneralPreferencesInfo.DiffView
getDiffView()
GeneralPreferencesInfo.EmailFormat
getEmailFormat()
GeneralPreferencesInfo.EmailStrategy
getEmailStrategy()
GeneralPreferencesInfo.TimeFormat
getTimeFormat()
-
-
-
Field Detail
-
DEFAULT_PAGESIZE
public static final int DEFAULT_PAGESIZE
Default number of items to display per page.- See Also:
- Constant Field Values
-
changesPerPage
public Integer changesPerPage
Number of changes to show in a screen.
-
downloadScheme
public String downloadScheme
Type of download URL the user prefers to use.
-
theme
public GeneralPreferencesInfo.Theme theme
-
dateFormat
public GeneralPreferencesInfo.DateFormat dateFormat
-
timeFormat
public GeneralPreferencesInfo.TimeFormat timeFormat
-
expandInlineDiffs
public Boolean expandInlineDiffs
-
highlightAssigneeInChangeTable
public Boolean highlightAssigneeInChangeTable
-
relativeDateInChangeTable
public Boolean relativeDateInChangeTable
-
diffView
public GeneralPreferencesInfo.DiffView diffView
-
sizeBarInChangeTable
public Boolean sizeBarInChangeTable
-
legacycidInChangeTable
public Boolean legacycidInChangeTable
-
muteCommonPathPrefixes
public Boolean muteCommonPathPrefixes
-
signedOffBy
public Boolean signedOffBy
-
emailStrategy
public GeneralPreferencesInfo.EmailStrategy emailStrategy
-
emailFormat
public GeneralPreferencesInfo.EmailFormat emailFormat
-
defaultBaseForMerges
public GeneralPreferencesInfo.DefaultBase defaultBaseForMerges
-
publishCommentsOnPush
public Boolean publishCommentsOnPush
-
disableKeyboardShortcuts
public Boolean disableKeyboardShortcuts
-
disableTokenHighlighting
public Boolean disableTokenHighlighting
-
workInProgressByDefault
public Boolean workInProgressByDefault
-
allowBrowserNotifications
public Boolean allowBrowserNotifications
-
-
Method Detail
-
getDateFormat
public GeneralPreferencesInfo.DateFormat getDateFormat()
-
getTimeFormat
public GeneralPreferencesInfo.TimeFormat getTimeFormat()
-
getDiffView
public GeneralPreferencesInfo.DiffView getDiffView()
-
getEmailStrategy
public GeneralPreferencesInfo.EmailStrategy getEmailStrategy()
-
getEmailFormat
public GeneralPreferencesInfo.EmailFormat getEmailFormat()
-
defaults
public static GeneralPreferencesInfo defaults()
-
-