public class CommitValidators
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommitValidators.AccountCommitValidator |
static class |
CommitValidators.AmendedGerritMergeCommitValidationListener
Don't allow the user to amend a merge created by Gerrit Code Review.
|
static class |
CommitValidators.AuthorUploaderValidator
Require that author matches the uploader.
|
static class |
CommitValidators.BannedCommitsValidator
Reject banned commits.
|
static class |
CommitValidators.ChangeIdValidator |
static class |
CommitValidators.CommitterUploaderValidator
Require that committer matches the uploader.
|
static class |
CommitValidators.ConfigValidator
If this is the special project configuration branch, validate the config.
|
static class |
CommitValidators.ExternalIdUpdateListener
Validates updates to refs/meta/external-ids.
|
static class |
CommitValidators.Factory |
static class |
CommitValidators.GroupCommitValidator
Rejects updates to group branches.
|
static class |
CommitValidators.PluginCommitValidationListener
Execute commit validation plug-ins
|
static class |
CommitValidators.ProjectStateValidationListener
Rejects updates to projects that don't allow writes.
|
static class |
CommitValidators.SignedOffByValidator |
static class |
CommitValidators.UploadMergesPermissionValidator
Require permission to upload merge commits.
|
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
NEW_PATCHSET_PATTERN |
Modifier and Type | Method and Description |
---|---|
java.util.List<CommitValidationMessage> |
validate(CommitReceivedEvent receiveEvent) |
public java.util.List<CommitValidationMessage> validate(CommitReceivedEvent receiveEvent) throws CommitValidationException
CommitValidationException