public static class CommitValidators.ConfigValidator extends java.lang.Object implements CommitValidationListener
Constructor and Description |
---|
CommitValidators.ConfigValidator(RefControl refControl,
org.eclipse.jgit.lib.Repository repo,
AllUsersName allUsers) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CommitValidationMessage> |
onCommitReceived(CommitReceivedEvent receiveEvent)
Commit validation.
|
public CommitValidators.ConfigValidator(RefControl refControl, org.eclipse.jgit.lib.Repository repo, AllUsersName allUsers)
public java.util.List<CommitValidationMessage> onCommitReceived(CommitReceivedEvent receiveEvent) throws CommitValidationException
CommitValidationListener
onCommitReceived
in interface CommitValidationListener
receiveEvent
- commit event detailsCommitValidationException
- if validation fails