Package com.google.gerrit.server.git.validators
@CheckReturnValue
package com.google.gerrit.server.git.validators
-
ClassDescriptionValidator that is used to ensure that new commits on any ref in
refs/users
are conforming to the NoteDb format for accounts.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.Limits the size of comments to prevent space/time complexity issues.Exception thrown when a Git commit fails validations.Listener to provide validation on received commits.Represents a list ofCommitValidationListener
s 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-insRejects updates to projects that don't allow writes.Require permission to upload merge commits.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 torefs/meta/config
.Listener to validate ref updates performed during submit operation.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 refCollection of validation listeners that are called before a ref update is performed with the command to be run.Validator for topic changes.Exception to be thrown when anUploadValidationListener
fails.Listener to provide validation for upload operations.Collection of validators to run before Gerrit sends pack data to a client.Message used as result of a validation that run during a git operation (for examplegit push
.