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