public static class CommitValidators.ConfigValidator extends java.lang.Object implements CommitValidationListener
| Constructor and Description |
|---|
ConfigValidator(ProjectConfig.Factory projectConfigFactory,
Branch.NameKey branch,
IdentifiedUser user,
org.eclipse.jgit.revwalk.RevWalk rw,
AllUsersName allUsers,
AllProjectsName allProjects) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CommitValidationMessage> |
onCommitReceived(CommitReceivedEvent receiveEvent)
Commit validation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldValidateAllCommitspublic ConfigValidator(ProjectConfig.Factory projectConfigFactory, Branch.NameKey branch, IdentifiedUser user, org.eclipse.jgit.revwalk.RevWalk rw, AllUsersName allUsers, AllProjectsName allProjects)
public java.util.List<CommitValidationMessage> onCommitReceived(CommitReceivedEvent receiveEvent) throws CommitValidationException
CommitValidationListeneronCommitReceived in interface CommitValidationListenerreceiveEvent - commit event detailsCommitValidationException - if validation fails