public static class CommitValidators.ChangeIdValidator extends Object implements CommitValidationListener
| Constructor and Description |
|---|
ChangeIdValidator(RefControl refControl,
String canonicalWebUrl,
String installCommitMsgHookCommand,
SshInfo sshInfo) |
| Modifier and Type | Method and Description |
|---|---|
List<CommitValidationMessage> |
onCommitReceived(CommitReceivedEvent receiveEvent)
Commit validation.
|
public ChangeIdValidator(RefControl refControl, String canonicalWebUrl, String installCommitMsgHookCommand, SshInfo sshInfo)
public List<CommitValidationMessage> onCommitReceived(CommitReceivedEvent receiveEvent) throws CommitValidationException
CommitValidationListeneronCommitReceived in interface CommitValidationListenerreceiveEvent - commit event detailsCommitValidationException - if validation fails