All Classes and Interfaces

Class
Description
 
Send notice about a change being abandoned by its owner.
 
 
 
 
Base class for all change events.
View of contents at a single ref related to some change.
 
An AutoCloseable for parsing a single commit into ChangeNotesCommits.
A single delta related to a specific patch-set of a change.
 
 
Base class to establish implementation-independent index bindings.
Abstract permission representing a label.
 
A AbstractLabelPermission at a specific value.
Base class for ListProjects implementations.
Intermediate class for events that do not support notification type.
Base plugin scanner for a set of pre-loaded classes.
Basic implementation of Realm.
Base class for all revision events.
 
 
REST collection that serves requests to /access/.
 
How the CurrentUser is accessing Gerrit.
REST resource that represents members in AccessCollection.
Guice module that binds all REST endpoints for /access/.
 
Portion of a Project describing access rules.
 
 
Information about a single user.
 
Key local to Gerrit to identify a user.
Notified whenever an account got activated or deactivated.
Validator that is invoked when an account activated or deactivated via the Gerrit REST API or the Java extension API.
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
 
Caches important (but small) account state to avoid database hits.
Caches important (but small) account state to avoid database hits.
 
 
Reads/writes account data from/to a user branch in the All-Users repository.
Access control management for one account's access to other accounts.
 
Runnable to enable scheduling account deactivations to run periodically
 
Fallback rule for choosing a display name, if it is not explicitly set.
Data holder for updates to be applied to an account.
Class to build an AccountDelta.
Representation of a (detailed) account in the REST API.
Directory of user account information.
Fields to be populated for SSH or REST API response.
An account processing error thrown by AccountManager.
 
Representation of an external ID in the REST API.
Secondary index schemas for accounts.
 
 
Synthetic key to link to within the database
Group name key
Globally unique identifier.
Inclusion of an AccountGroup in another AccountGroup.
 
 
Membership of an Account in an AccountGroup.
 
 
 
 
Index for Gerrit accounts.
 
Collection of active account indices.
Bundle of service classes that make up the account index.
Notified whenever an account is indexed
Interface for indexing a Gerrit account.
Implementation for indexing a Gerrit account.
Factory for creating an instance.
Rewriter for the account index.
Representation of an account in the REST API.
Tags are additional properties of an account.
 
 
Proto converter between AccountInput and Entities.AccountInput.
 
Limits which QoS a user runs as, and how many search results it can request.
 
 
 
Tracks authentication related details for user accounts.
 
 
Module that binds AccountsUpdate
Store for reviewed flags on changes.
Represents patch set id with reviewed files.
Utility class to create predicates for account index queries.
Parses/writes account properties from/to a Config file.
Parses a query string meant to be applied to account objects.
 
Query processor for the account index.
 
Helper for resolving accounts given arbitrary user-provided input.
 
 
 
 
 
 
 
 
 
Class to access accounts.
A default implementation which allows source compatibility when adding new methods to the interface.
API for setting parameters and getting result.
API for setting parameters and getting result.
Definition of account index versions (schemata).
A generic interface for parsing account IDs from URL resources.
 
 
Representation of account-related server configuration in the REST API.
 
 
 
 
An SSH key approved for use by an Account.
Superset of all information related to an Account.
Creates and updates accounts.
 
 
 
Account updates are commonly performed by evaluating the current account state and creating a delta to be applied to it in a later step.
Data holder for the set of arguments required to update an account.
Creates and updates accounts which are stored in All-Users NoteDB repository.
 
 
An extension point for plugins to define their own account tags in addition to the ones defined at AccountInfo.Tags.
Utility functions for text that can be persisted in data storage and should not contain user identifiable information, e.g.
Thrown by AccountManager if the user name for a newly created account could not be set and the realm does not allow the user to set a user name manually.
Validator that is used to ensure that new commits on any ref in refs/users are conforming to the NoteDb format for accounts.
Visibility level of other accounts to a given user.
 
Representation of an action in the REST API.
 
Extension point called during population of ActionInfo maps.
 
Informs a user by email about the addition of an SSH or GPG key to their account.
 
 
 
 
 
Represents an address (name + email) in an email message.
 
 
REST endpoint to add an SSH key for an account.
 
 
 
 
Adds a single user to the attention set.
Add a specified user to the attention set.
 
Annotation tagged on a concrete Command that requires high priority thread creation whenever called by administrators users.
Groups that can always exercise administrateServer capability.
Loads AdministrateServerGroups from gerrit.config.
Predicate that matches a Timestamp field from the index in a range from the passed String representation of the Timestamp value to the maximum supported time.
 
Representation of a contributor agreement in the REST API.
This entity contains information for registering a new contributor agreement.
 
Helper class to fire an event when a user has signed a contributor agreement.
Notified whenever a user signed up for a Contributor License Agreement.
 
Command that executes some other command.
Resolves an alias to another command.
Implementation that can index all accounts on a host.
Implementation that can index all changes on a host or within a project.
 
 
Cache value containing all external IDs.
Implementation that can index all groups on a host.
 
 
 
 
 
Implementation that can index all projects on a host.
Special name of the project that all projects derive from.
 
 
Filters all HTTP requests passing through the server.
Performs an update on All-Users asynchronously if required.
Special name of the project in which meta data for all users is stored.
 
 
 
 
Requires all predicates to be true.
 
Special name for a user that hasn't set a name.
 
An anonymous user who has not yet authenticated.
 
Information about a patch to apply.
Proto converter between ApplyPatchInput and Entities.ApplyPatchInput.
Information for creating a new patch set from a given patch.
Utility for applying a patch.
Applies a fix that is provided as part of the request body.
Input containing fix definitions to apply the provided fix to the change, on the patchset specified by revision id.
 
Entity representing all required information to match predicates for copying approvals.
Computes copied approvals for a given patch set.
 
A PatchSetApproval with information about which atoms of the copy condition are passing/failing.
Representation of an approval in the REST API.
Module to bind logic related to approval copying.
 
 
Utility functions to manipulate patchset approvals.
The GetArchive REST endpoint allows to download revisions as archive.
 
 
API for managing the attention set of a change.
A default implementation which allows source compatibility when adding new methods to the interface.
Base class for Attention Set email senders
 
Base class for Attention Set email senders
 
 
 
REST resource that represents an entry in the attention set of a change.
 
Represents a single user included in the attention set.
Input at API level to add a user to the attention set.
Notified whenever the attention set is changed.
 
Helper class to fire an event when an attention set changes.
Event to be fired when an attention set changes
Runnable to enable scheduling change cleanups to run periodically
 
Ensures that the attention set will not be changed, thus blocks RemoveFromAttentionSetOp and AddToAttentionSetOp and updates in ChangeUpdate.
A single update to the attention set.
Users can be added to or removed from the attention set.
Condition to be checked by AddToAttentionSetOp and RemoveFromAttentionSetOp before performing an attention set update.
Common helpers for dealing with attention set data structures.
 
 
A formatter for entities used in an audit log which is typically represented by NoteDb commits.
NoteDb reader for group audit log.
Implementations of AuthBackend authenticate users for incoming request.
Authentication related settings from gerrit.config.
Authentication failed due to incorrect user or password.
A query to the authentication server failed
Caller cannot perform the request operation (HTTP 403 Forbidden).
Base type for authentication exceptions.
Representation of auth-related server configuration in the REST API.
Offers a dedicated endpoint for checking if a user is still logged in.
 
Defines an abstract request for user authentication to Gerrit.
 
 
An authenticated user as specified by the AuthBackend.
Globally unique identifier for the user.
 
Utility class for creating an auto-merge commit of a merge commit.
 
Filters out auto-reply messages according to RFC 3834.
Representation of an avatar in the REST API.
Provide avatar URLs for specified user.
Request could not be parsed as sent (HTTP 400 Bad Request).
Logic for banning commits from being uploaded.
The REST endpoint that marks commits as banned in a project.
 
 
Commits that will forbidden to be uploaded.
The outcome of the BanCommit operation.
 
Runnable function which can throw an exception.
Thrown from BaseCommand.CommandRunnable.run() with client message and code.
Runnable function which can retrieve a project name related to the task
Thrown from BaseCommand.CommandRunnable.run() with client message and code.
 
 
Input for the REST API that describes additions, updates and deletions of label definitions.
 
Helper for a set of change updates that should be applied to the NoteDb database.
 
Interface for listening during batch update execution.
Interface for BatchUpdate operations that touch a change.
 
 
Predicate that matches a Timestamp field from the index in a range from the the epoch to the passed String representation of the Timestamp value.
Wrapper around a non-JSON result from a RestView.
 
Delayed evaluation of a boolean condition.
 
Contains all inheritable boolean project configs and maps internal representations to API objects.
Provides transformations to get and set BooleanProjectConfigs from the API.
 
A default implementation which allows source compatibility when adding new methods to the interface.
Contains utils for email notification related to the events on project+branch.
 
 
 
Branch name key
 
An ordering of branches by stability.
 
A Predicate to match any number of BranchNameKeys with O(1) efficiency
 
 
This enum can be used to decide if bloom filters for H2 disk caches should be built.
 
Configure a cache declared within a CacheModule instance.
 
 
Details of an account that are cached persistently in AccountCache.
 
Serializer used to read this entity from and write it to a persistent storage.
Serializer used to read this entity from and write it to a persistent storage.
 
 
Container class for preferences serialized as Git-style config files.
Cached representation of values parsed from ProjectConfig.
 
Utilities to manage HTTP caching directives in responses.
 
 
 
 
 
Miniature DSL to support binding Cache instances in Guice.
Marker on the global ThreadPoolExecutor used to refresh outdated values in caches.
 
 
 
 
Metrics for request cancellations and deadlines.
 
Marker on a String holding the canonical address for this server.
Supports binding the CanonicalWebUrl annotation.
Provides CanonicalWebUrl from gerrit.canonicalWebUrl.
 
 
 
Caches active GlobalCapability set for a site.
 
 
Specifies a capability declared by a plugin.
 
Declared scope of a capability named by RequiresCapability.
 
Exports a single version of a patch as a normal file download.
Collection of ReceiveCommands that supports multiple updates per ref.
A change proposed to be merged into a branch.
The numeric change ID
Globally unique identification of this change.
Current state within the basic workflow of the change.
Helper class to fire an event when a change has been abandoned.
 
Notified whenever a Change is abandoned.
 
Indicates that the change or commit is already in the source tree.
 
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
 
 
Runnable to enable scheduling change cleanups to run periodically
 
API response containing values from the change section of gerrit.config.
ChangeData provides lazily loaded interface to change metadata loaded from NoteDb.
 
 
 
 
 
Helper class to fire an event when a change has been deleted.
 
Notified whenever a Change is deleted.
 
A single delta to apply atomically to a change.
 
 
 
An interface for updating draft comments.
 
An interface for executing updates of multiple ChangeDraftUpdate instances.
 
 
A single user's edit for a change.
An API for the change edit of a change.
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
 
 
Utility functions to manipulate change edits.
Represents change edit resource, that is actually two kinds of resources: the change edit itself a path within the edit distinguished by whether path is null or not.
 
Create handler that is activated when collection element is accessed but doesn't exist, e.
Handler to delete a file.
 
 
 
 
 
 
 
 
 
 
Post to edit collection resource.
 
Put handler that is activated when PUT request is called on collection element.
Utility functions to manipulate change edits.
Populates an email for change related notifications.
Implementations of params interface populate details specific to the notification type.
Populates an email for change related notifications.
 
Allows plugins to contribute a value to the change ETag computation.
Interface to be extended by Events with a Change.
 
Fields indexed on change documents.
JSON type for storing SubmitRecords.
A TreeModification which changes the content of a file.
 
 
 
 
 
Index for Gerrit changes.
 
 
Collection of active change indices.
Bundle of service classes that make up the change index.
Notified whenever a change is indexed or deleted from the index.
Helper for (re)indexing a change document.
 
Predicate that is mapped to a field in the change index, with additional filtering done in the match method.
Predicate that is mapped to a field in the change index.
Rewriter that pushes boolean logic into the secondary index.
Representation of a change used in the API.
Gets the differences between two ChangeInfos.
The difference between two ChangeInfos returned by ChangeInfoDiffer.
 
 
Proto converter between ChangeInput and Entities.ChangeInput.
 
 
 
 
Produces ChangeInfo (which is serialized to JSON afterwards) from ChangeData.
 
 
 
Operation performed by a change relative to its parent.
Cache of ChangeKind per commit.
 
 
 
 
Predicate that matches patch set approvals we want to copy if the diff between the old and new patch set is of a certain kind.
Helper class to fire an event when a change has been merged.
 
Notified whenever a Change is merged.
 
A message attached to a Change.
 
Interface for change message APIs.
A default implementation which allows source compatibility when adding new methods to the interface.
Represent ChangeMessage in the REST API.
 
Allows to modify the commit message for new commits generated by Rebase Always submit strategy.
 
A change message resource.
 
 
Utility functions to manipulate ChangeMessage.
Footers, that can be set in NoteDb commits.
Provides Gson to parse ChangeRevisionNote, attached to the change update.
View of a single Change based on the log of its notes branch.
 
 
 
 
Commit implementation with some optimizations for change notes parsing.
A RevWalk that creates ChangeNotesCommits rather than RevCommits
 
Immutable state associated with a change meta ref at a given commit.
 
Helper class for JSON serialization.
 
 
Dictionary-based encoding algorithm for combining a serverId/legacyChangeNum into a virtual numeric id
Algorithm for encoding a serverId/legacyChangeNum into a virtual numeric id
 
Interface for plugins to provide additional fields in ChangeInfo.
Predicates that match against ChangeData.
 
A default implementation of ChangePredicates.EditByPredicateProvider, based on th ChangeField.EDITBY_SPEC index field.
 
Parses a query string meant to be applied to change objects.
 
 
 
Converts a operand (operator value) passed to an operator into a Predicate.
 
Query processor for the change index.
 
 
Formatter for git command-line progress messages.
 
 
 
 
 
Helper class to fire an event when a change has been restored.
 
Notified whenever a Change is restored.
 
Helper class to fire an event when a change has been reverted.
Notified whenever a Change is reverted via the UI or REST API.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
 
 
 
Lightweight cache of changes in each project.
 
Definition of change index versions (schemata).
 
A set of changes grouped together to be submitted atomically.
A human-readable change size bucket.
 
 
Predicate for a Change.Status.
 
Type of modification made to the file path.
A delta to apply to a change.
 
 
Makes sure that the referenced "unknown" channel identifier is one that was assigned in the past.
 
 
 
 
Check the mergeability at current branch for a git object references expression.
 
 
 
 
 
A rest view to evaluate (test) a SubmitRequirement on a given change.
Indicates the SignedToken is invalid
 
 
 
 
 
Nested collection of RestResources below a parent.
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
Retrieve child projects (ie.
 
 
 
Extension of Enum which provides distinct character code values.
Extended commit entity with code review specific metadata.
 
Simple output formatter for column-oriented data, writing its output to a PrintWriter object.
Marker on ScheduledThreadPoolExecutor used by SSH threads.
 
Annotation tagged on a concrete Command to describe what it is doing and whether it can be run on slaves.
 
Module to register commands in the SSH daemon.
Name of a command registered in an SSH daemon.
Utilities to support CommandName construction.
This class is a base class that can be extended by the different types of inline comment entities.
 
 
 
The Range class defines continuous range of character.
 
 
Helper class to fire an event when a comment or vote has been added to a change.
 
Notified whenever a comment is added to a change.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
Send comments, after the author of them hit used Publish Comments in the UI.
Send comments, after the author of them hit used Publish Comments in the UI.
 
An entity class representing all context lines of a comment.
Caches the context lines of comments (source file content surrounding and including the lines where the comment was written)
Implementation of CommentContextCache.
 
An identifier of a comment that should be used to load the comment context using CommentContextCache.get(CommentContextKey), or CommentContextCache.getAll(Iterable).
 
 
Computes the list of ContextLineInfo for a given comment, that is, the lines of the source file surrounding and including the area where the comment was written.
 
Limits number of comments to prevent space/time complexity issues.
Limits the total size of all comments and change messages to prevent space/time complexity issues.
 
 
 
 
Holds a comment's text and some metadata in order to pass it to a validation plugin.
The creator of the comment.
The type of comment.
 
Input to the ChangeApi.comments().
 
See StoredCommentLinkInfo for field documentation.
Input for a commentlink configuration on a project.
 
Container for all logic necessary to port comments to a target patchset.
 
 
Limits the size of comments to prevent space/time complexity issues.
Thrown when comment validation rejected a comment, preventing it from being published.
Utility functions to manipulate Comments.
 
Representation of a comment thread.
 
Identifier of comment threads.
Holds a comment validators context in order to pass it to a validation plugin.
A comment or review message was rejected by a CommentValidator.
Validates review comments and messages.
Verifier for Comment objects
 
A default implementation for source compatibility when adding new methods to the interface.
 
 
Status codes set on CodeReviewCommits by SubmitStrategy implementations.
Representation of a commit message used in the API.
 
Utility functions to manipulate commit messages.
 
 
 
 
Rewrites ('backfills') commit history of change in NoteDb to not contain user data.
Result of the backfill run for a project.
Diff result of a single commit rewrite
The collection of commit IDs (ie.
 
Static utilities for working with RevCommits.
Exception thrown when a Git commit fails validations.
Listener to provide validation on received commits.
 
Represents a list of CommitValidationListeners to run for a push to one branch of one project.
 
Don't allow the user to amend a merge created by Gerrit Code Review.
Require that author matches the uploader.
Reject banned commits.
 
Require that committer matches the uploader.
If this is the special project configuration branch, validate the config.
Validates updates to refs/meta/external-ids.
 
Rejects updates to group branches.
Execute commit validation plug-ins
Rejects updates to projects that don't allow writes.
 
Require permission to upload merge commits.
Converters to classes in com.google.gerrit.extensions.common.
Relation between the old and new commits used in the diff.
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
An implementation of ExperimentFeatures that uses gerrit.config to evaluate the status of the feature.
 
 
 
 
 
 
 
 
 
 
 
 
This event is produced by GerritServerConfigReloader and forwarded to callers implementing GerritConfigListener.
 
 
 
 
 
 
 
 
Wrap a SubscriptionGraph.Factory to honor the gerrit configuration.
 
 
REST endpoint to confirm an email address for an account.
 
 
 
 
 
 
Checks changes for various kinds of inconsistency and corruption.
 
 
 
 
 
 
 
 
 
 
 
Console based interaction with the invoking user.
A submit requirement predicate (can only be used in submit requirement expressions) that always evaluates to true if the value is equal to "true" or false otherwise.
Context for performing a BatchUpdate.
An entity class representing 1 line of context {line number, line text} of the source file where a comment was written.
Portion of a Project describing a single contributor agreement.
 
 
 
 
Download scheme string constants supported by the download-commands core plugin.
A repository permission either defined in Gerrit core or a plugin.
Provides methods for processing CORS requests.
 
REST endpoint for creating a new account.
 
Create a new branch.
 
 
 
 
 
REST endpoint for registering a new email address for an account.
 
 
With groups in NoteDb, the capability of creating a group is expressed as a CREATE permission on refs/groups/* rather than a global capability in All-Projects.
 
 
 
 
 
Manages access control for creating Git references (aka branches, tags).
A rest create view that creates a "submit requirement" for a project.
 
Information about the currently logged in user.
 
Helper class to fire an event when the hashtags of a change has been edited.
Notified whenever a Change's Custom Keyed Values are edited.
 
 
 
 
Listener to provide validation of custom keyed values changes.
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
 
 
 
 
 
RequestStateProvider that checks whether a client provided deadline is exceeded.
 
Default formatter for change descriptions for use in git command-line progress.
Register the commands a Gerrit server supports.
Default versions of Gerrit email notifications.
Loads mime types from mime-types.properties at specificity of 2.
Applied to a String field to indicate the default input parameter.
 
Binds the default PermissionBackend.
Binds legacy ProjectControl, RefControl, ChangeControl.
Mappings from GerritPermission enum instances to the permission names used by DefaultPermissionBackend.
Cache for Gerrit's default preferences (general, diff edit).
 
In-memory lock for project names.
 
Wrapper class so a Runnable can schedule itself onto the Gerrit Workqueue.
 
 
 
 
 
Java implementation of Gerrit's default pre-submit rules behavior: check if the labels have the correct values, according to the LabelFunction they are attached to.
 
 
 
Wrapper around RefDatabase that delegates all calls to the wrapped Repository's RefDatabase.
Wrapper around Repository that delegates all calls to the wrapped Repository.
 
REST endpoint for deleting an account.
REST endpoint to mark an account as inactive.
 
 
 
 
 
Deletes a change message by rewriting history.
 
Input for deleting a change message.
Deletes a change message from NoteDb by rewriting the commit history.
 
 
 
 
Deletes a published comment from NoteDb by rewriting the commit history.
 
 
 
 
 
 
 
 
 
REST endpoint to delete external IDs from an account.
A TreeModification which deletes a file.
Informs a user by email about the removal of an SSH or GPG key from their account.
 
 
 
 
 
 
 
 
 
 
Let users know that a reviewer and possibly her review have been removed.
Let users know that a reviewer and possibly her review have been removed.
Input passed to DELETE /changes/[id]/reviewers/[id].
 
 
 
REST endpoint to delete an SSH key of an account.
 
 
 
 
 
 
 
 
Send notice about a vote that was removed from a change.
 
Input passed to DELETE /changes/[id]/reviewers/[id]/votes/[label].
Updates the storage to delete vote(s).
Factory to create DeleteVoteOp instances.
REST endpoint to delete project watches from an account.
This class can be used to clean zombie draft comments.
This class can be used to clean zombie draft comments from NoteDB.
 
 
 
 
 
 
Marker on ExecutorService used by IntraLineLoader.
Module providing the DiffExecutor.
 
 
 
 
 
Creates and fills a new DiffInfo object based on diff between files.
Mappings derived from diffs.
Thrown by the diff caches - the GitModifiedFilesCache and the ModifiedFilesCache, if the implementations failed to retrieve the modified files between the 2 commits.
An interface for all file diff related operations.
Class to get modified files in CommitValidationListeners.
 
Provides different file diff operations.
 
 
 
 
Contains settings for one of two sides in diff view.
 
 
 
 
 
Computes memory usage for DiffSummary in bytes of memory used.
A utility class used by the diff cache interfaces GitModifiedFilesCache and ModifiedFilesCache.
Interface to validate diff outputs.
Validates FileDiffOutput(s) after they are computed by the DiffOperations.
 
 
Provider for different types of links which can be displayed in a diff view.
 
 
Creates DispatchCommand using commands registered by CommandModule.
 
A submit requirement predicate that allows checking for distinct voters across labels.
 
 
Populates the FetchInfo which is serialized to JSON afterwards.
Download protocol from gerrit.config.
Preferred method to download a change.
 
API response containing values from the download section of gerrit.config.
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
View of the draft comments for a single Change based on the log of its drafts branch.
 
 
 
 
 
 
Exception that is thrown if an external ID cannot be inserted because an external ID with the same key already exists.
A single item that can be modified as plugins reload.
A map of members that can be modified as plugins reload.
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.
A FileRepository with a dynamic RefDatabase supplied via a BiFunction.
 
A set of members that can be modified as plugins reload.
A modified region between 2 versions of the same content.
 
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
Arguments used for sending notification emails.
Expands user name to a local email address, usually by adding a domain.
 
 
Set of factories for default email notifications.
 
 
 
 
 
This entity contains information for registering a new email address.
 
 
 
Email resource that can be attached to an email.
 
 
Class to access accounts by email.
 
Sends email messages to third parties.
 
Verifies the token used by new email address verification process.
Exception thrown when a token does not parse correctly.
Pair returned from decode to provide the data used during encode.
 
 
 
Marker on a boolean indicating whether signed push is enabled on the server.
 
 
 
 
 
A view which may change, although the underlying resource did not change
 
Distributes Events to listeners if they are allowed to see them
 
JSON deserializer for Events.
Interface for posting (dispatching) Events
 
 
 
Allows to listen to events without user visibility restrictions.
 
Class for registering event types
Formats change and revision info objects to serve as payload for Gerrit events.
Predicate that matches patch set approvals that have a given voting value.
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.
 
 
Features that can be enabled/disabled on Gerrit (e.
Constants for Gerrit ExperimentFeatures
 
 
 
Annotation applied to auto-registered, exported types.
Static constructors for Export annotations.
An extension that is provided by a plugin.
Annotation for interfaces that accept auto-registered implementations.
 
 
Caches external IDs of all accounts.
Loads cache values for the external ID cache using either a full or a partial reload.
 
 
 
 
 
 
 
 
 
 
Default implementation ExternalIdKeyFactory.Config
 
 
 
VersionedMetaData subclass to update external IDs.
 
 
 
Class to read external IDs from NoteDb.
 
 
 
Class to access external IDs.
This optional preprocessor is called in ExternalIdNotes before an update is committed.
 
Represents a user that does not have a Gerrit account.
 
 
Helpers for PermissionBackend that must fail.
Fake implementation of Realm that does not communicate.
The default RequestContext to use when not in a request scope e.g.
Marker on the global ThreadPoolExecutor used to do parallel work from a serving thread.
 
 
FieldBundle is an abstraction that allows retrieval of raw values from different sources.
Document field types supported by the secondary index system.
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
 
Content to be added to a file (new or existing) via change edit.
 
This cache computes the git diff for a single file path and adds some extra logic, e.g.
Cache for the single file diff between two commits for a single file path.
Cache key for the FileDiffCache.
 
 
File diff for a single file path.
 
 
A weigher for the FileDiffCache key and value.
An entity class containing the list of edits between two commits for a file, and the old and new paths.
A submit-requirement predicate that can be used in submit requirements expressions.
 
 
 
 
A utility class for the FileHeader JGit object
 
 
Compute and return the list of modified files between two commits.
Implementation of FileInfoJson using DiffOperations.
 
 
Adapter for old/new paths of the new diff cache to the old diff cache representation.
 
A file.
 
 
 
like FilesCollection, but for commits that are specified as hex ID, rather than branch names.
 
 
 
 
 
Filter branches and tags from the result of Included In.
Produces final version of an input content with all fixes applied together with list of edits.
The result of applying fix to a file content
 
 
 
 
An interpreter for FixReplacements.
 
 
 
 
 
This listener dispatches removal events to all other RemovalListeners attached via the DynamicSet API.
 
Constructs an address to send email from.
REST endpoint that executes GC on a project.
 
Serial execution of GC on a list of repositories.
 
Runs the Git garbage collection.
 
 
A thread-safe list of projects scheduled for GC.
A list of errors occurred during GC.
 
 
Runnable to enable scheduling gc to run periodically
Notified whenever the garbage collector has run successfully on a project.
 
 
Preferences about a single user.
 
 
 
 
 
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
Configures filter for authenticating REST requests.
Implementations of the GerritConfigListener interface expects to react GerritServerConfig updates.
 
Base interface to be extended by Events.
List of ServerIds of the Gerrit data imported from other servers.
 
Status to decide if a specific index version (e.g.
API response containing values from the gerrit section of gerrit.config.
Marker on a String holding the instance id for this server.
Supports binding the GerritInstanceId annotation.
Provides GerritInstanceId from gerrit.instanceId.
Marker on a String holding the instance name for this server.
Supports binding the GerritInstanceName annotation.
Provides GerritInstanceName from gerrit.name.
Marker on Boolean indicating whether Gerrit is run as a read-only replica.
Provides Boolean annotated with GerritIsReplica.
 
Gerrit permission for hosts, projects, refs, changes, labels and plugins.
Marker on a PersonIdent pointing to the identity + timestamp representing the Gerrit server itself.
Provides PersonIdent annotated with GerritPersonIdent.
Bindings for RequestScoped entities.
Represents the current runtime environment in which Gerrit is running.
Marker on Config holding gerrit.config .
Provides Config annotated with GerritServerConfig.
Issues a configuration reload from the GerritServerConfigProvider and notify all listeners.
Marker on a string holding a unique identifier for the server.
 
 
 
REST endpoint to get an account.
REST endpoint to get the active state of an account.
REST endpoint to get all contributor agreements that have been signed by an account.
 
Reads the list of users currently in the attention set.
 
REST endpoint to get the avatar image of an account.
REST endpoint to get the URL for changing the avatar image of an account.
 
 
 
REST endpoint to list the global capabilities that are assigned to an account.
REST endpoint to check if a global capability is assigned to an account.
 
Gets one change message.
 
 
 
 
 
 
 
 
 
 
 
 
REST endpoint to get details of an account.
 
 
 
 
REST endpoint to get the diff preferences of an account.
 
 
REST endpoint to get the edit preferences of an account.
 
REST endpoint to get an email of an account.
REST endpoint to list the emails of an account.
 
REST endpoint to get the external IDs of an account.
 
REST endpoint to get all known groups of an account (groups that contain the account as member).
 
 
 
 
 
 
 
 
Gets the diff for a change at two NoteDb meta SHA-1s.
REST endpoint to get the full name of an account.
 
 
 
 
 
REST endpoint to get the general preferences of an account.
 
 
 
 
 
Utility class that gets the ancestor changes and the descendent changes of a specific change.
Options for "Get Related Changes" requests.
 
 
 
 
 
REST endpoint to get an SSH key of an account.
REST endpoint to list the SSH keys of an account.
 
 
REST endpoint to get the status of an account.
 
A rest read view that retrieves a "submit requirement" for a project by its name.
 
 
 
 
 
 
 
 
 
Stores user as a request attribute and/or response header, so servlets and reverse proxies can access it outside of the request/response scope.
 
REST endpoint to get the username of an account.
 
REST endpoint to get the project watches of an account.
 
Notified when one or more references are modified.
 
 
Entity representing a modified file (added, deleted, modified, renamed, etc...) between two different git commits.
 
 
This cache computes pure git diff for a single file path according to a git tree diff.
Implementation of the GitFileDiffCache
Enum for the supported diff algorithms for the file diff computation.
Creates a new JGit diff algorithm instance using the Gerrit's GitFileDiffCacheImpl.DiffAlgorithm enum.
 
 
 
 
Only used for branches without code review changes
A cache interface for identifying the list of Git modified files between 2 different git trees.
Implementation of the GitModifiedFilesCache
 
Cache key for the GitModifiedFilesCache.
 
 
/** Class to load the files that have been modified between two Git trees.
 
Configures the Git support.
Loads the .gitmodules file of the specified project/branch.
 
Configures Git access over HTTP with authentication.
Serves Git repositories over HTTP.
 
 
Transformer of GitPositionTransformer.Positions in one Git tree to GitPositionTransformer.Positions in another Git tree given the GitPositionTransformer.Mappings between the trees.
A strategy which tries to select the next suitable GitPositionTransformer.Position on a conflicting mapping.
A mapping of attributes from a file in one Git tree (source) to a file in another Git tree (target).
A mapping from a GitPositionTransformer.Position in one Git commit/tree (source) to a GitPositionTransformer.Position in another Git commit/tree (target).
A strategy which drops any GitPositionTransformer.Positions on a conflicting mapping.
A position within the tree of a Git commit.
Strategy indicating how to handle GitPositionTransformer.Positions for which mapping conflicts exist.
Wrapper around an instance of T which annotates it with a GitPositionTransformer.Position.
A range.
A mapping of a line range in one Git tree (source) to the corresponding line range in another Git tree (target).
Used to populate the groups of users that are allowed to run receive-pack on the server.
 
Helper class to fire an event when a Git reference has been updated.
Event to be fired when a Git reference has been updated.
 
 
Notified when one or more references are modified.
 
Stores the updated refs whenever they are updated, so that we can export this information in the response headers.
Manages Git repositories for the Gerrit server process.
Status of the repository.
Module to install MultiBaseLocalDiskRepositoryManager rather than LocalDiskRepositoryManager if needed.
 
Used to populate the groups of users that are allowed to run upload-pack on the server.
 
This class can tell efficiently if changes are visible to a user.
 
 
 
 
Class to store information about different source browser types.
Server wide capabilities.
Global server permissions built into Gerrit.
Plugin configuration in etc/$PLUGIN.config and etc/$PLUGIN.secure.config.
 
 
Generic exception type for GPG-related exceptions.
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
Status of checking an object like a key or signature.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
 
 
 
 
Representation of a user that does not have a Gerrit account.
Implementations of GroupBackend provide lookup and membership accessors to a group system.
Utility class for dealing with a GroupBackend.
 
Tracks group objects in memory for efficient access.
Tracks group objects in memory for efficient access.
Helper for assigning groups to commits during ReceiveCommits.
A representation of a group in NoteDb.
Access control management for a group of accounts managed in Gerrit.
 
 
Listener to provide validation on group creation.
 
Data holder for updates to be applied to a group.
A builder for a GroupDelta.
Representation of a member modification as defined by GroupDelta.MemberModification.apply(ImmutableSet).
 
Group methods exposed by the GroupBackend.
The Basic information required to be exposed by any Group.
The extended information exposed by internal groups.
Secondary index schemas for groups.
Tracks group inclusions in memory for efficient access.
Tracks group inclusions in memory for efficient access.
 
Index for internal Gerrit groups.
 
Collection of active group indices.
Bundle of service classes that make up the group index.
Notified whenever a group is indexed
Interface for indexing an internal Gerrit group.
Implementation for indexing an internal Gerrit group.
 
Rewriter for the group index.
 
 
 
 
File format for group name aliases.
 
Represents the set of groups that a single user is part of.
 
An enforcer of unique names for groups in NoteDb.
 
 
Utility class to create predicates for group index queries.
Parses a query string meant to be applied to group objects.
 
Query processor for the group index.
 
Describes a group within a projects AccessSections.
 
 
 
 
A database accessor for read calls related to groups.
 
A default implementation which allows source compatibility when adding new methods to the interface.
API for setting parameters and getting result.
Definition of group index versions (schemata).
 
Checks individual groups for oddities, such as cycles, non-existent subgroups, etc.
Parses groups referenced in the gerrit.config file.
Check the referential integrity of NoteDb group storage.
The result of a consistency check.
 
This class is used to compute a compound key that represents the state of the internal groups in NoteDb.
 
A database accessor for write calls related to groups.
 
 
Propagator for Guice's built-in servlet scope.
 
 
Holds logic for salted, hashed passwords.
 
 
Helper class to fire an event when the hashtags of a change has been edited.
Notified whenever a Change's Hashtags are edited.
 
 
 
 
Listener to provide validation of hashtag changes.
 
Submit requirement predicate that returns true if the diff of the latest patchset against the parent number identified by HasSubmoduleUpdatePredicate.base has a submodule modified file, that is, a .gitmodules or a git link file.
 
 
Notified whenever the HEAD of a project is updated.
 
 
Static utilities for writing git protocol hooks.
 
 
Utility functions to deal with HTML using W3C DOM operations.
Servlets and support related to HTTP authentication.
Sets CanonicalWebUrl to current HTTP request if not configured.
 
 
 
Sender that informs a user by email that the HTTP password of their account was updated.
 
 
Servlet bound to /login/* to redirect after client SSL certificate login.
Servlets and support related to CLIENT_SSL_CERT_LDAP authentication.
HttpServletResponse wrapper to allow response status code override.
This class represents inline human comments in NoteDb.
Filter for human comments.
Proto converter between HumanComment and Entities.HumanComment.
 
An authenticated user.
Create an IdentifiedUser, ignoring any per-request state.
Create an IdentifiedUser, relying on current request state.
Simple class to produce 4 billion keys randomly distributed.
Resource identifier split out from a URL.
Rule to require an approval from a user that did not upload the current patch set or block submission.
 
 
Immutable parsed representation of a Config that can be cached.
Closes open SSH connections upon account deactivation.
Send an email to inform users that parsing their inbound email failed.
Used by the templating system to determine what error message should be sent
 
 
 
 
Determines membership in the internal group system for a given user.
 
Secondary index implementation for arbitrary documents.
REST endpoint to (re)index an account.
 
 
 
 
 
 
 
Dynamic pointers to the index versions used for searching and writing.
 
 
Implementation-specific configuration for secondary indexes.
 
Definition of an index over a Gerrit data type.
 
Wrapper around Predicates that are returned by the IndexRewriter.
Wrapper combining an IndexPredicate together with a ChangeDataSource that returns matching results from the index.
Definition of a field stored in the secondary index.
A builder for IndexedField.
Wrapper around Predicates that are returned by the IndexRewriter.
Wrapper combining an IndexPredicate together with a DataSource that returns matching results from the index.
Marker on ListeningExecutorService used by secondary indexing threads.
Helper for generating parts of index.html.
 
 
Module for non-indexer-specific secondary index setup.
Predicate that is mapped to a field in the index.
Helper for generating preloading parts of index.html.
 
 
Rewriter to sanitize queries before they are sent to the index.
 
 
Index types supported by the secondary index.
Set of index-related utility methods.
 
 
 
 
Global variables used by the 'init' command.
A single step in the site initialization process.
Utility functions to help initialize a site.
 
A generic empty input.
A generic input with a commit message only.
A generic input with a message only.
Specialization of BatchUpdateOp for creating changes.
 
 
 
 
Deprecated.
 
 
An object blob in a Git repository that stores a single integer value.
 
 
Exception to be thrown if integrating (aka merging) a change into the destination branch is not possible due to conflicts.
 
 
Query wrapper for the account index.
 
Query wrapper for the change index.
 
 
Implementation of GroupBackend for the internal group system.
Definition of all properties necessary for a group creation.
 
 
Query wrapper for the group index.
Execute a single query over a secondary index, for use by Gerrit internals.
User identity for plugin code that needs an identity.
 
Predicate to filter a field by matching integer value.
 
 
 
 
 
Approximates memory usage for IntralineDiff in bytes of memory used.
Indicates the change operation is not currently valid.
Exception that is thrown if an invalid config file causes an error.
An authentication exception that is thrown when the credentials are present and are unable to be verified.
Exception that is thrown is a deadline cannot be parsed.
 
 
 
 
 
This enum should be injected and checked to decide on which operation (replace() or insert()) should be performed on a specific index.
 
 
 
 
 
 
 
Provides util methods for dynamic loading jars
Configures a web UI plugin written using JavaScript.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
Validates modifications to label configurations in the project.config file that is stored in refs/meta/config.
 
 
 
 
Functions for determining submittability based on label votes.
 
 
 
Normalizes votes on labels according to project config.
 
Permission representing a label.
A LabelPermission at a specific value.
 
 
 
Permission representing a label removal.
A LabelRemovalPermission at a specific value.
 
 
Produces label-related entities, like LabelInfos, which is serialized to JSON afterwards.
 
 
 
 
 
A single vote on a label, consisting of a label name and a value.
Wrapper for LargeObjectException.
Result set that allows for asynchronous execution of the actual query.
Configure username/password LDAP authentication.
Redirects from /Gerrit#foo to /#foo in JavaScript.
Describes a submit record requirement.
 
 
 
 
 
 
 
Loads configured Guice modules from gerrit.installModule.
Loadable module type for the different Gerrit injectors.
 
Listener interested in server startup and shutdown events.
A stream that throws an exception if it consumes data beyond a configured byte count.
 
A write operation was rejected because a limit would be exceeded.
 
REST endpoint to list members of the AccessCollection.
Output options available for retrieval of account details.
 
 
 
List capabilities visible to the calling user.
 
 
 
 
 
Output options available for retrieval of change details.
 
 
Annotation for auto-registered extension point implementations.
List capabilities visible to the calling user.
GroupMembership over an explicit list.
List groups visible to the calling user.
 
Output options available when using /groups/ RPCs.
 
 
 
 
 
 
 
Implements a command that allows the user to see the members of a account.
Predicate that matches when the new patch-set includes the same files as the old patch-set.
Enum that can be expressed as a bitset in query parameters.
List the installed plugins.
 
 
List projects visible to the calling user.
 
 
List projects visible to the calling user.
Result set for queries that run synchronously or for cases where the result is already known and we just need to pipe it back through our interfaces.
 
 
 
 
 
List submit requirements in a project.
 
 
 
 
 
 
Manages Git repositories stored on the local filesystem.
 
 
Default implementation of MergeSuperSet that does the computation of the merge super set sequentially on the local Gerrit instance.
 
 
 
 
 
 
Representation of a magic file which appears as a file with content to Gerrit users.
 
 
 
 
An entity representing a special label vote that's not numeric, e.g.
Predicate that matches patch set approvals we want to copy based on the value.
 
Listener to filter incoming email.
Users can post comments on gerrit changes by replying directly to gerrit emails.
MailReceiver implements base functionality for receiving emails.
 
Provides support for soy templates
Extension point to provide soy templates that should be registered so that they can be used for sending emails from a plugin.
 
An exception indicating a known transport-level exception.
 
 
 
Closeable version of a RequestContext with manually-specified providers.
 
 
 
 
 
 
 
Cache for mergeability of commits into destination branches.
 
 
 
 
State that is used to decide if mergeable should be included in the REST API or the change index.
 
 
 
Indicates that a commit cannot be merged without conflicts.
Operation to close a change on push.
 
Send notice about a change successfully merged.
 
Indicates that the commit is already contained in destination branch.
 
 
Proto converter between MergeInput and Entities.MergeInput.
 
Metrics are recorded when a change is merged (aka submitted).
Merges changes in submission order into a single branch.
 
This is a helper class for MergeOp and not intended for general use.
 
 
 
Calculates the minimal superset of changes required to be merged.
Interface to compute the merge super set to detect changes that should be submitted together.
Class describing a merge tip during merge operation.
Utility methods used during the merge process.
 
Exception that occurs during a validation step before merging changes.
Listener to provide validation of commits before merging.
Collection of validators that run inside Gerrit before a change is submitted.
 
 
 
Validator to ensure that group refs are not mutated.
 
Validator that calls to plugins that provide additional validators.
Validator for any commits to refs/meta/config.
 
 
A unique id used which is a part of the header of all emails sent through by Gerrit.
A generator class that creates a MessageIdGenerator.MessageId
Helps with the updating of a VersionedMetaData.
 
 
 
Method is not acceptable on the resource (HTTP 405 Method Not Allowed).
Define metrics reservoir settings based on gerrit.config
 
 
An authentication exception that is thrown when the credentials are not present.
Raised when one or more mandatory plugins are missing.
Separate exception type to throw if requested meta SHA1 is not available.
Target of the modification of a commit.
An existing ChangeEdit commit is the target of the modification.
A specific patchset commit is the target of the modification.
An entity representing a Modified file due to a diff between 2 git trees.
 
A cache for the list of Git modified files between 2 commits (patchsets) with extra Gerrit logic.
A cache for the list of Git modified files between 2 commits (patchsets) with extra Gerrit logic.
Cache key for the ModifiedFilesCache
 
 
Class to load the files that have been modified between two commits.
 
 
 
 
 
 
 
Order the Ref Pattern by the most specific.
 
 
RepositoryManager that looks up repos stored across directories.
 
Progress reporting interface that multiplexes multiple sub-tasks.
 
 
 
Optional interface for RestCollection.
Notified whenever a project is created on the master.
 
 
 
Disables the SSH support by stubbing out relevant objects.
Indicates the change does not exist.
Indicates the project does not exist.
Indicates the reference does not exist.
The user does not exist on the authentication server
 
 
 
 
Object to manage a single sequence of updates to NoteDb.
 
 
A utility class for updating a notes branch with automatic merge of note trees.
 
 
 
 
 
 
Detailed information about who should be notified about an update.
Proto converter between NotifyInfo and Entities.NotifyInfo.
 
 
Method is not implemented in currently used implementation.
Negates the result of another predicate.
Gerrit's own replacement for the javax.annotations.Nullable
An implementation of ProjectCache with no operations implemented.
Redirects: domain.tld/123 to domain.tld/c/project/+/123 domain.tld/123/comment/bc630c55_3e265b44 to domain.tld/c/project/+/123/comment/bc630c55_3e265b44/
 
 
OAuth token.
 
 
 
 
Proto converter for ObjectIds.
Helper to create one-off request contexts.
 
 
Background thread for running an index schema upgrade by reindexing all documents in an index using the new version.
Per-thread singleton to signal if online reindexing is in progress.
Listener for online schema upgrade events.
Listener to handle upgrading index schema versions at startup.
 
Extension point that is invoked on post review.
Extension point that allows to modify the SubmitRequirementResult when it is stored NoteDB.
Default implementation of OnStoreSubmitRequirementResultModifier that does not re-evaluate SubmitRequirementResult.
Listener to validate ref updates performed during submit operation.
 
 
 
 
 
 
Predicate to filter a field by matching value.
Utilities for option parsing.
 
Requires one predicate to be true.
 
Represents an email notification for some event that can be sent to interested parties.
Provides content, recipients and any customizations of the email.
 
Listener to provide validation on outgoing email notification.
Arguments supplied to validateOutgoingEmail.
Validator that checks if an email address is valid and allowed for receiving notification emails.
Change query implementation that outputs to a stream in the style of an SSH command.
 
 
 
 
 
 
 
Performs replacements on strings such as Hello ${user}.
 
 
Information about the parent of a revision patch-set.
 
 
 
 
 
Checks if a given username and password match a user's external IDs.
Wrapper class for patch related aspects.
Type of modification made to the file path.
Constants describing various file modes recognized by GIT.
 
Type of formatting for this patch.
State supporting processing of a single Patch instance.
 
Provides a cached list of intra-line and summary diffs.
Provides a cached list of PatchListEntry.
 
 
 
Exception thrown when the PatchList could not be computed because previous attempts failed with LargeObjectException.
 
 
 
 
 
 
 
 
A single revision of a Change.
 
 
An approval (or negative approval) on a patch set.
 
 
Globally unique identifier.
 
 
All approvals of a change by patch set.
Generator for PatchSetApproval.UUID.
Default implementation of PatchSetApprovalUuidGenerator.
 
 
 
 
Additional data about a PatchSet not normally loaded.
 
Factory class creating PatchSetInfo from meta-data found in Git repository.
 
 
 
 
 
 
Utilities for manipulating patch sets.
 
Identity of a peer daemon process that isn't this JVM.
 
Runnable to schedule periodic group reindexing.
 
 
 
A single permission within an AccessSection of a project.
 
Wrapper around DelegateRefDatabase that filters all refs using PermissionBackend.
Wraps and unwraps existing repositories and makes them permission-aware by returning a PermissionAwareReadOnlyRefDatabase.
Checks authorization to perform an action on a project, reference, or change.
PermissionBackend scoped to a user, project, reference and change.
PermissionBackend scoped to a user and project.
PermissionBackend scoped to a user, project and reference.
Options for filtering refs using PermissionBackend.ForProject.
 
PermissionBackend scoped to a specific user.
BooleanCondition to evaluate a permission.
 
 
 
 
Thrown when PermissionBackend cannot compute the result.
Effective permissions applied to a reference in a project.
 
This signals that some permission check failed.
 
Represents a closed interval [min, max] with a name.
 
 
 
 
 
 
 
 
Base class for persistent cache factory.
Configure a persistent cache declared within a CacheModule instance.
 
 
Caches object instances for a request as ThreadLocal in the serving thread.
Unique key for key-value mappings stored in PerThreadCache.
To prevent OOM errors on requests that would cache a lot of objects, this class enforces an internal limit after which no new elements are cached.
A per request thread cache of RefDatabases by directory (Project).
 
 
 
Helper to call plugins that want to change the commit message before a change is merged.
 
 
Unique key that changes whenever a plugin reloads.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
Annotation applied to a String containing the plugin canonical web URL.
 
 
Mutable representation of PluginConfig.
 
 
Scans the plugin returning classes and resources.
Plugin class extension meta-data
Context for invoking plugin extensions.
 
 
 
 
 
 
 
 
Local path where a plugin can store its own private data.
Static helpers for use by PluginDefinedInfosFactory implementations.
 
Interface to generate PluginDefinedInfos from registered ChangePluginDefinedInfoFactorys.
Plugin static resource entry
Helper class to let plugins fire a plugin-specific event.
Notified when a plugin fires an event.
 
Tracks Guice bindings that should be exposed to loaded plugins.
 
 
Context to invoke an extension from a DynamicItem.
 
 
 
Context to invoke extensions from a DynamicMap.
Context to invoke an extension from DynamicMap.
 
 
Annotation applied to a String containing the plugin or extension name.
 
A global capability type permission used by a plugin.
Specifies a permission declared by a plugin.
Utilities for plugin permissions.
Repository permissions defined by plugins.
Specifies a repository permission declared by a plugin.
RequestContext active while plugins load or unload.
 
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
Context to invoke extensions from a DynamicSet.
Context to invoke an extension from DynamicSet.
User identity for plugin code that needs an identity.
 
 
An implementation of MailReceiver for POP3.
 
 
 
 
Matches all documents in the index, with additional filtering done in the subclass's match method.
 
REST endpoint that allows to add, update and delete label definitions in a batch.
 
 
 
 
 
 
REST endpoint to set project watches for an account.
Resource state does not match request state (HTTP 412 Precondition failed).
An abstract predicate tree for any form of query.
 
This class is used to extract comma separated values in a predicate.
 
Helper to read default or user preferences from Git-style config files.
Provides methods for parsing DiffPreferencesInfo configs
Provides methods for parsing EditPreferencesInfo configs
Provides methods for parsing GeneralPreferencesInfo configs
Provides methods for parsing user configs
 
 
 
 
DO NOT USE
 
DO NOT USE
DO NOT USE
Internal implementation helper for Gerrit Code Review server.
Helper class to fire an event when the private flag of a change has been toggled.
 
 
 
 
 
Projects match a source code repository managed by Gerrit
 
Project name key.
 
 
 
 
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
Cache of project information, including access rights.
Cache of project information, including access rights.
 
Stores together numeric Change.Id and a project name for the change
 
 
 
 
 
 
Listener to provide validation on project creation.
Business logic for creating projects.
Notified whenever a project is deleted on the master.
 
Interface to be extended by Events with a Project.
 
 
 
Bundle of service classes that make up the project index.
Notified whenever a project is indexed
Implementation for indexing a Gerrit-managed repository (project).
 
 
 
 
Collection of routines to populate ProjectInfo.
Configuration file in the projects refs/meta/config branch.
 
 
A per-repo lock mechanism.
Node of a Project in a tree formatted by ListProjectsImpl.
 
Provider of the group(s) which should become owners of a newly created project.
 
 
Utility class to create predicates for project index queries.
Provides methods required for parsing projects queries.
Parses a query string meant to be applied to project objects.
Query processor for the project index.
 
 
 
Separately bind batch functionality.
Used to retrieve the project name from an operation *
 
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
API for setting parameters and getting result.
 
 
 
 
State of a project, aggregated from the project and its parents.
 
 
 
 
 
 
 
Parses/writes project watches from/to a Config file.
 
 
 
 
A validator than emits a warning for newly added prolog rules file via git push.
Provides prolog-related operations to different callers.
Immutable map that holds a collection of random objects allowing for a type-safe retrieval.
 
Typed key for PropertyMap.
 
ProtoConverter<P extends com.google.protobuf.MessageLite,C>
 
 
 
Input passed to POST /changes/[id]/edit:publish/.
A BatchUpdateOp that can be used to publish draft comments
 
 
Can check if a change is a pure revert (= a revert with no further modifications).
Computes and caches if a change is a pure revert of another change.
 
 
REST endpoint for updating an existing account.
REST endpoint to mark an account as active.
REST endpoint to sign a contributor agreement for an account.
 
 
 
 
 
REST endpoint to set the display name of an account.
 
REST endpoint for updating an existing email address of an account.
 
REST endpoint to set/delete the password for HTTP access of an account.
 
REST endpoint to set the full name of an account.
 
 
 
REST endpoint to set an email address as preferred email address for an account.
 
REST endpoint to set the status of an account.
 
 
REST endpoint to set the username of an account.
 
REST endpoint to query accounts.
Base class to support writing parsers for query languages.
Defines the operators known by a QueryBuilder.
Denotes a method which is a query operator.
Converts a value string passed to an operator into a Predicate.
 
 
 
 
 
 
 
 
Exception thrown when a search query is invalid.
Lower-level implementation for executing a single query over a secondary index.
 
Implements the GET /projects/?query=QUERY endpoint.
Exception thrown when a search query is invalid.
Results of a query over entities.
 
 
Backend interface to perform quota requests on.
An interface capable of issuing quota requests.
An interface capable of issuing quota requests.
Allows plugins to enforce different types of quota.
Exception that was encountered while checking if there is sufficient quota to fulfil the request.
 
 
 
 
 
 
 
 
 
 
Raw data stream supplied by the body of a PUT or POST.
 
Report whether a commit is reachable from a set of commits.
 
Interface between Gerrit and an account system.
 
 
 
Rest API for rebasing an ancestry chain of changes.
 
 
BatchUpdate operation that rebases a change.
 
 
 
Metrics for the rebase REST endpoints (Rebase and RebaseChain).
 
This strategy covers RebaseAlways and RebaseIfNecessary ones.
Utility methods related to rebasing changes.
 
Marker on the global ExecutorService used by ReceiveCommits.
API response containing values from the receive section of gerrit.config.
 
 
 
Simple short-lived cache of individual refs read from a repo.
 
 
 
 
Extension 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.
Constants and utilities for Gerrit-specific ref names.
Exception to be thrown when the validation of a ref operation fails and should be aborted.
Listener to provide validation on operation that is going to be performed on given ref
Collection of validation listeners that are called before a ref update is performed with the command to be run.
 
 
 
 
 
 
 
 
Passes additional information about an operation to the BatchRefUpdate#execute method.
List of possible ref-update types.
 
 
 
 
A submit requirement predicate that matches with changes having the author email's address matching a specific regular expression pattern.
A submit requirement predicate that matches with changes having the committer email's address matching a specific regular expression pattern.
 
 
Helper to search sorted lists for elements matching a RegExp.
 
 
 
 
 
 
A submit requirement predicate that matches with changes having the uploader's email address matching a specific regular expression pattern.
 
Sender that informs a user by email about the registration of a new email address for their account.
Sender that informs a user by email about the registration of a new email address for their account.
 
Handle for registered information.
Listener for ref update events that reindexes accounts in case the updated Git reference was used to compute contents of an index document.
Listener for ref update events that reindexes changes in case the updated Git reference was used to compute contents of an index document.
Exception to be thrown when attempting to start a second reindex job.
 
 
 
 
 
 
 
 
Issues a reload of gerrit.config.
 
Broadcasts event indicating a plugin was reloaded.
Marker on a SocketAddress pointing to the remote client.
 
Annotation for features that are deprecated, but still present to adhere to the one-release-grace period we promised to users.
Removes a single user from the attention set.
Remove a specified user from the attention set.
 
 
A TreeModification which renames a file or moves it to a different path.
 
Send notice of new patch sets for reviewers.
Send notice of new patch sets for reviewers.
 
 
This class is used to update the attention set when performing a review or replying on a change.
Updates repo refs/meta/config content.
 
Base interface for operations performed as part of a BatchUpdate.
RefCache backed directly by a repository.
Class for managing an incrementing sequence backed by a git repository.
A groups sequence provider that does not fire git reference updates.
 
 
This exception is thrown if a project cannot be created because a project with the same name in a different case already exists.
 
Thrown when trying to create a repository that exist.
 
Restricted view of a Repository for use by BatchUpdateOp implementations.
Registers cleanup activities to be completed when a scope ends.
Executes any pending RequestCleanup at the end of a request.
Represents a configuration on request level that matches requests by request type, URI pattern, caller and/or project pattern.
The RequestContext is an interface exposing the fields that are needed by the GerritGlobalModule scope.
Set the request context for the downstream filters and invocation.
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.
 
 
 
Base class for propagating request-scoped data between threads.
Utilities for manipulating HTTP request objects.
Annotation on com.google.gerrit.sshd.SshCommand or com.google.gerrit.httpd.restapi.RestApiServlet declaring a set of capabilities of which at least one must be granted.
Annotation on com.google.gerrit.sshd.SshCommand or com.google.gerrit.httpd.restapi.RestApiServlet declaring a capability must be granted.
Requires the connection to use SSL, redirects if not.
 
Reset cherryPickOf to an empty value.
 
 
Resource state does not permit requested operation (HTTP 409 Conflict).
 
Named resource does not exist (HTTP 404 Not Found).
Base class for serving static resources.
 
 
 
Special return value to mean specific HTTP status codes in a REST API.
Accepted as task for asynchronous execution.
An HTTP redirect to another location.
Root exception type for REST API failures.
 
Guice DSL for binding RestView implementations.
Module to bind REST API endpoints.
 
 
 
 
 
 
Enforces quota on specific REST API endpoints.
 
 
 
A collection of resources accessible through a REST API.
RestView that supports accepting input and creating a resource.
RestView that supports accepting input and deleting a resource that is missing.
RestView on a RestCollection that supports accepting input.
Any type of view on RestCollection, see RestCollectionModifyView for updates and deletes and RestCollectionCreateView for member creation.
RestView that supports accepting input and changing a resource.
Module to bind classes that are needed but the REST layer, but which are not REST endpoints.
 
Send notice about a change being restored by its owner.
A TreeModification which restores a file.
 
RestView to read a resource without modification.
Generic resource handle defining arguments to views.
A resource with an ETag.
A resource with a last modification date.
Any type of view, see RestReadView for reads, RestModifyView for updates, and RestCollection for nested collections.
Result from any data store query function.
An action that is executed with retrying.
 
Type of an retryable action.
A change action that is executed with retrying.
 
An action to query an index that is executed with retrying.
 
 
 
Options for retrying a single operation.
 
 
Send notice about a change being reverted.
Input passed to POST /changes/[change-id]/revert and POST /changes/[change-id]/revert_submission
 
 
 
 
 
 
 
Helper class to fire an event when reviewers have been added to a change.
 
Notified whenever one or more Reviewers are added to a change.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
Set of reviewers on a change that do not have a Gerrit account and were added by email instead.
Helper class to fire an event when a reviewer has been deleted from a change.
 
Notified whenever a Reviewer is removed from a change.
 
Account and approval details for an added reviewer.
 
 
 
 
Controls which failures should be ignored.
 
 
 
 
 
 
 
 
Result object representing the outcome of a request to add/remove a reviewer.
 
Set of reviewers on a change.
 
State of a reviewer on a change.
Change to a reviewer's status.
Listener to provide reviewer suggestions.
 
 
 
Input passed to POST /changes/[id]/revisions/[id]/review.
 
 
Deprecated.
Result object representing the outcome of a review request.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
Helper class to fire an event when a revision has been created for a change.
Notified whenever a Change Revision is created.
 
Interface to be extended by Events with a Revision.
 
 
Produces RevisionInfo and CommitInfo which are serialized to JSON afterwards.
 
Data stored in a note, parsed on demand.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
 
Deprecated.
 
A default implementation which allows source compatibility when adding new methods to the interface.
Deprecated.
 
 
 
Deprecated.
Holds the raw data of a RevisionNote.
 
A single delta to apply atomically to a change.
 
Annotation applied to HttpServletRequest and HttpServletResponse when they are inherited from Gerrit instead of being injected by a plugin's ServletModule.
 
JDK version string utilities.
This class reads a schedule for running a periodic background job from a Git config.
 
 
Specific version of a secondary index schema.
 
 
Definitions of the various schema versions over a given Gerrit data type.
Interfaces that define properties of fields in Schema.
Getter to extract value that should be stored in index from the input object.
Definition of a field stored in the secondary index.
Setter to reconstruct fields from indexed values back to an object.
 
Cache based on an index query of the most recent changes.
 
 
Tokenization options enabled on IndexedField.
Helper to edit a section of the configuration files.
 
Matches an AccessSection against a reference name.
Caches the order AccessSections should be sorted for evaluation.
Abstract class for providing new SecureStore implementation for Gerrit.
Describes SecureStore entry
 
 
Marker on the global ScheduledThreadPoolExecutor used to send email.
An incrementing sequence that's used to assign new unique numbers for change, account and group IDs.
Some callers cannot get the normal Sequence.NAME_ACCOUNTS sequence injected because some injected fields are not available at injection time.
Some callers cannot get the normal Sequence.NAME_GROUPS sequence injected because some injected fields are not available at injection time.
 
 
 
 
A accounts sequence provider that does not fire git reference updates.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
API response containing values from gerrit.config as nested objects.
Exports current server information to an extension.
Current state of the server.
 
A marker for database modifications which aren't directly related to a user request (e.g.
 
Provider of one Server plugin from one external file
Descriptor of the Plugin that ServerPluginProvider has to load.
RequestContext with an InternalUser making the internals visible.
 
An instance that can be used for testing and will consider no user to be a Service User.
An implementation of ServiceUserClassifier that will consider a user to be a robot if they are a member in the Service Users group.
 
 
 
 
 
 
 
 
REST endpoint to set diff preferences for an account.
 
REST endpoint to set edit preferences for an account.
 
 
 
 
 
Toggler for account active state.
 
 
 
 
REST endpoint to set general preferences for an account.
 
 
 
 
 
 
 
 
 
 
 
Utility function to compute and verify XSRF tokens.
Verifies the token used by new email address verification process.
 
Binds one SSH command to the plugin name itself.
Module that installs a listener to Gerrit's lifecycle events to specify which index versions to use.
Listener to Gerrit's lifecycle events to specify which index versions to use.
 
SiteIndexer<K,V,I extends Index<K,V>>
Base class for implementations that can index all entities of a given type.
Result of an operation to index a subset or all of the entities of a given type.
 
Marker on a File pointing to the site path.
Important paths within a SitePath.
Sends static content from the site 's static/ subdirectory.
Marker on a Boolean holding the evaluation of current Prolog rules on closed changes.
 
 
 
Sends email via a nearby SMTP server.
 
 
 
 
 
 
 
 
 
 
Resolver of the source content of a specific file
 
Marker on the list of SocketAddresses configured to be advertised by the server.
 
 
SSH daemon to communicate with Gerrit.
 
API response containing values from the sshd section of gerrit.config.
 
 
 
Servlet hosting an SSH daemon on another port.
Permits controlling the contents of the SSH key cache area.
Provides the SshKeyCacheEntry.
 
 
 
 
 
Marker on the list of SocketAddresses on which the SSH daemon is configured to listen.
 
 
Configures standard dependencies for SshDaemon.
 
Guice scopes for state during an SSH connection.
 
Global data related to an active SSH connection.
 
Utilities to support SSH operations.
 
Checks if documents in the account index are stale.
Checker that compares values stored in the change index to metadata in NoteDb to detect index documents that should have been updated (= stale).
Checks if documents in the group index are stale.
Checker that compares values stored in the project index to metadata in NoteDb to detect index documents that should have been updated (= stale).
 
Pattern for matching refs.
Structured result of a staleness check.
 
 
 
 
Interface for reading information about starred changes.
 
Interface for writing information about starred changes.
Broadcasts event indicating a plugin was loaded.
Sends an email alerting a user to a new change for them to review.
Sends an email alerting a user to a new change for them to review.
Check executed on Gerrit startup.
 
 
 
 
 
Various constants related to StaticModule
 
Broadcasts event indicating a plugin was unloaded.
Info about a single commentlink section in a config.
 
Parses/writes preferences from/to a Config file.
Representation of a field stored on the index.
A BatchUpdateOp that stores the evaluated submit requirements of a change in NoteDb.
 
Marker on ScheduledThreadPoolExecutor used by delayed event streaming.
 
 
 
 
 
 
 
 
 
Status and progress of a submission.
 
 
Dry run of a submit strategy.
 
Describes the state and edits required to submit a change.
 
 
 
API response containing a SubmitRecord entity.
 
 
 
 
Entity describing a requirement that should be met for a change to become submittable.
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
A query builder for submit requirement expressions that includes all ChangeQueryBuilder operators, in addition to extra operators contributed by this class.
Validates the expressions of submit requirements in project.config.
Exception that might occur when evaluating SubmitRequirementPredicate in SubmitRequirementExpression.
Describe a applicability, blocking or override expression of a SubmitRequirement.
Result of evaluating a single submit requirement expression.
Values in this enum should match with values in SubmitRequirementExpressionResult.Status.
Result of evaluating a submit requirement expression on a given Change.
 
Entity detailing the result of evaluating a predicate.
 
 
 
 
API Input describing a submit requirement entity.
Predicate that can be used in submit requirement expressions.
 
 
Result of evaluating a SubmitRequirement on a given Change.
 
 
Result of evaluating a submit requirement on a change.
 
 
 
Evaluates submit requirements for different change data.
Produces submit requirements related entities like SubmitRequirementResultInfos, which are serialized to JSON afterwards.
A utility class for different operations related to SubmitRequirements.
Allows plugins to decide whether a change is ready to be submitted or not.
Evaluates a submit-like Prolog rule found in the rules.pl file of the current project and filters the results through rules found in the parent projects, all the way up to All-Projects.
 
Stable identifier for options passed to a particular submit rule evaluator.
 
Base class that submit strategies must extend.
Factory to create a SubmitStrategy for a SubmitType.
 
 
 
 
Output options available for submitted_together requests.
 
Describes the submit type for a change.
 
This class is used on submit to compute the diff between the latest approved patch-set, and the current submitted patch-set.
Exception to be thrown if any submodule operation is not possible due to conflicts.
 
 
Defining a project/branch subscription to a project/branch project.
Portion of a Project describing superproject subscription rules.
 
A container which stores subscription relationship.
 
 
 
Executes any other command as a different user identity.
 
 
 
 
API response containing values from the suggest section of gerrit.config.
 
 
Marker on a SubmissionListener that updates the superprojects on submission.
Update superprojects after submission is done
 
 
 
Module providing different executors.
 
 
 
 
(De)serializer for tab-delimited text files.
 
 
 
A default implementation which allows source compatibility when adding new methods to the interface.
 
An entity class encapsulating a JGit Edit along with extra attributes (e.g.
 
 
 
 
 
 
 
 
 
 
 
 
Implementation of PatchSetApprovalUuidGenerator that returns predictable PatchSetApproval.UUID.
 
Subclass of SubmitInput with special bits that may be flipped for testing purposes only.
 
 
 
 
 
 
 
 
ThreadLocalRequestContext manages the current RequestContext using a ThreadLocal.
RequestScopePropagator implementation for request scopes based on a ThreadLocal context.
 
 
 
Listing of all client side tools stored on this server.
A file served out of the tools root directory.
 
Sends the client side tools we keep within our software.
 
 
Helper class to fire an event when the topic of a change has been edited.
Notified whenever a Change Topic is changed.
 
 
Validator for topic changes.
Special marker resource naming the top-level of a REST space.
 
 
 
 
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).
Git hook for ls-refs and fetch that enables Gerrit request tracing if the user sets the 'trace' server option.
Tracking entry in the configuration file
 
Provides a list of all configured TrackingFooters.
 
 
A creator for a new Git tree.
 
 
A specific modification of a Git tree.
 
Describes an action invokable through the web interface.
 
Default result for UiActions with no JavaScript.
 
Universal implementation of the AuthBackend that works with the injected set of AuthBackends.
Universal implementation of the GroupBackend that works with the injected set of GroupBackends.
 
 
An authentication exception that is thrown when credentials are presented for an unknown user.
Resource referenced in the request body is not found (HTTP 422 Unprocessable Entity).
A filter which only keeps comments which are part of an unresolved CommentThread.
Exception type thrown by BatchUpdate steps.
A rest modify view that updates the definition of an existing submit requirement for a project.
Allows getting archives for Git repositories over SSH using the Git upload-archive protocol.
Predicate that matches changes where the latest patch set was uploaded by a user in the provided group.
 
 
Exception to be thrown when an UploadValidationListener fails.
Listener to provide validation for upload operations.
Collection of validators to run before Gerrit sends pack data to a client.
 
URL related utility functions.
 
Formats URLs to different parts of the Gerrit API and UI.
Notified when usage data is published
 
 
 
A marker to say a method/type/field/constructor is added or is increased to public solely because it is called from inside a project or an organisation using Gerrit.
Enumeration of projects that call a method/type/field.
Allows to mark method/type/field with multiple UsedAt annotations.
API response containing values from the user section of gerrit.config.
 
 
A marker for database modifications which are directly related to a user request (e.g.
Predicate that matches group memberships of users such as uploader or approver.
 
An authentication exception that is thrown when the user credentials are valid, but not allowed to authenticate for other reasons i.e.
Converters for user preferences data classes
 
 
 
Allows to listen to events visible to the specified user.
Advertises refs/users/self for authenticated users when interacting with the All-Users repository.
Indicates a problem with Git based data.
 
Exception to be thrown either directly or subclassed indicating that we failed to validate a Git operation.
Message used as result of a validation that run during a git operation (for example git push.
 
Utilities for validation options parsing.
Marker on a SubscriptionGraph.Factory without gerrit configuration.
Verbosity level of the commit message for submodule subscriptions.
 
User or Group configured named destinations.
Named Queries for user accounts.
'authorized_keys' file in the refs/users/CD/ABCD branches of the All-Users repository.
Read/write SSH keys by user ID.
 
 
Versioned configuration file living in git
Low-level storage API to load Gerrit's default config from All-Users.
Support for metadata stored within a version controlled branch.
 
Path information that does not hold references to any repository data structures, allowing the application to retain this object for long periods of time.
 
 
Trigger for online reindexing in case the index version in use is not the latest.
 
Helper class to fire an event when a vote has been deleted from a change.
 
Notified whenever a vote is removed from a change.
 
 
 
 
 
Helper to sort ChangeDatas based on RevWalk ordering.
 
Marks that the implementor has a method that provides a weblinkInfo
 
 
Allows to listen and override the reponse to login/logout web actions.
 
A thread safe class that contains details about a specific user web session.
 
 
 
Pulls objects from the SSH injector over the HTTP injector.
Specifies JavaScript to dynamically load into the web UI.
 
 
 
Helper class to fire an event when the work-in-progress state of a change has been toggled.
 
 
 
Delayed execution of tasks using a background thread pool.
Runnable needing to know it was canceled.
Base interface handles the case when task was canceled before actual execution and in case it was started cancel method is not called yet the task itself will be destroyed anyway (it will result in resource opening errors).
 
Same as Task class, but with a reference to ProjectRunnable, used to retrieve the project name from the operation queued
A wrapper around a scheduled Runnable, as maintained in the queue.
Summarized status of a single task.
To register a TaskListener, which will be called directly before Tasks run, and directly after they complete, bind the TaskListener like this:
 
 
XSRF Constants.
 
Indicates the requested method is not known.