Package com.google.gerrit.server
@CheckReturnValue
package com.google.gerrit.server
-
ClassDescriptionHow the
CurrentUser
is accessing Gerrit.Class to control when ACL infos should be collected and be returned to the user.An anonymous user who has not yet authenticated.Marker on the globalThreadPoolExecutor
used to refresh outdated values in caches.Metrics for request cancellations and deadlines.An interface for updating draft comments.An interface for executing updates of multipleChangeDraftUpdate
instances.Utility functions to manipulateChangeMessage
.Utility functions to manipulate Comments.Verifier forComment
objectsConverters to classes incom.google.gerrit.extensions.common
.With groups in NoteDb, the capability of creating a group is expressed as aCREATE
permission onrefs/groups/*
rather than a global capability inAll-Projects
.Information about the currently logged in user.RequestStateProvider
that checks whether a client provided deadline is exceeded.DeleteZombieComments<KeyT>This class can be used to clean zombie draft comments.Helper class to define and parse options from plugins on ssh and RestAPI commands.Implement this if your DynamicBean needs an opportunity to act on the Bean directly before or after argument parsing.The entity which provided additional options may need a way to receive a reference to the DynamicBean it provided.To provide additional options to a command in another classloader, bind a ClassNameProvider which provides the name of your DynamicBean in the other classLoader.To provide additional options, bind a DynamicBean.To provide additional Guice bindings for options to a command in another classloader, bind a ModulesClassNamesProvider which provides the name of your Modules needed for your DynamicBean in the other classLoader.Marker on a boolean indicating whether signed push is enabled on the server.Allows implementors to control how certain exceptions should be handled.Class to detect and handle exceptions that are caused by temporary errors, and hence should cause a retry of the failed operation.Represents a user that does not have a Gerrit account.Marker on the globalThreadPoolExecutor
used to do parallel work from a serving thread.Marker on aPersonIdent
pointing to the identity + timestamp representing the Gerrit server itself.ProvidesPersonIdent
annotated withGerritPersonIdent
.Generic exception type for GPG-related exceptions.An authenticated user.Create an IdentifiedUser, ignoring any per-request state.Create an IdentifiedUser, relying on current request state.User identity for plugin code that needs an identity.Exception that is thrown if an invalid config file causes an error.Exception that is thrown is a deadline cannot be parsed.Loads configured Guice modules fromgerrit.installModule
.Loadable module type for the different Gerrit injectors.Utilities for option parsing.Utilities for manipulating patch sets.Identity of a peer daemon process that isn't this JVM.Performance logger that records the execution times as a metric.User identity for plugin code that needs an identity.Immutable map that holds a collection of random objects allowing for a type-safe retrieval.Typed key forPropertyMap
.ABatchUpdateOp
that can be used to publish draft commentsExtension point that allows to control which identity should be recorded in the reflog for ref updates done by a user or done on behalf of a user.Marker on aSocketAddress
pointing to the remote client.Registers cleanup activities to be completed when a scope ends.Represents a configuration on request level that matches requests by request type, URI pattern, caller and/or project pattern.Information about a request that was received from a user.Channel through which a user request was received.Extension point that allows to listen to incoming requests.Set of reviewers on a change that do not have a Gerrit account and were added by email instead.Set of reviewers on a change.Change to a reviewer's status.An incrementing sequence that's used to assign new unique numbers for change, account and group IDs.Some callers cannot get the normalSequence.NAME_ACCOUNTS
sequence injected because some injected fields are not available at injection time.Some callers cannot get the normalSequence.NAME_GROUPS
sequence injected because some injected fields are not available at injection time.A marker for database modifications which aren't directly related to a user request (e.g.Extension point to retrieve server state that should be included in the response of theGetServerInfo
REST endpoint.Interface for reading information about starred changes.Interface for writing information about starred changes.Check executed on Gerrit startup.Request listener that sets additional logging tags and enables tracing automatically if the request matches any tracing configuration in gerrit.config (see description of 'tracing.<trace-id>' subsection in config-gerrit.txt).A marker for database modifications which are directly related to a user request (e.g.