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
-
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
-
PAGESIZE_CHOICES
public static final int[] PAGESIZE_CHOICES
Valid choices for the page size.
-
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
-
-
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()
-
-