public static class CommitValidators.BannedCommitsValidator extends Object implements CommitValidationListener
Constructor and Description |
---|
BannedCommitsValidator(org.eclipse.jgit.notes.NoteMap rejectCommits) |
Modifier and Type | Method and Description |
---|---|
List<CommitValidationMessage> |
onCommitReceived(CommitReceivedEvent receiveEvent)
Commit validation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldValidateAllCommits
public BannedCommitsValidator(org.eclipse.jgit.notes.NoteMap rejectCommits)
public List<CommitValidationMessage> onCommitReceived(CommitReceivedEvent receiveEvent) throws CommitValidationException
CommitValidationListener
onCommitReceived
in interface CommitValidationListener
receiveEvent
- commit event detailsCommitValidationException
- if validation fails