Class CommitValidators.GroupCommitValidator
- java.lang.Object
- 
- com.google.gerrit.server.git.validators.CommitValidators.GroupCommitValidator
 
- 
- All Implemented Interfaces:
- CommitValidationListener
 - Enclosing class:
- CommitValidators
 
 public static class CommitValidators.GroupCommitValidator extends Object implements CommitValidationListener Rejects updates to group branches.
- 
- 
Constructor SummaryConstructors Constructor Description GroupCommitValidator(AllUsersName allUsers)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CommitValidationMessage>onCommitReceived(CommitReceivedEvent receiveEvent)Commit validation.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.google.gerrit.server.git.validators.CommitValidationListenershouldValidateAllCommits
 
- 
 
- 
- 
- 
Constructor Detail- 
GroupCommitValidatorpublic GroupCommitValidator(AllUsersName allUsers) 
 
- 
 - 
Method Detail- 
onCommitReceivedpublic List<CommitValidationMessage> onCommitReceived(CommitReceivedEvent receiveEvent) throws CommitValidationException Description copied from interface:CommitValidationListenerCommit validation.- Specified by:
- onCommitReceivedin interface- CommitValidationListener
- Parameters:
- receiveEvent- commit event details
- Returns:
- list of validation messages
- Throws:
- CommitValidationException- if validation fails
 
 
- 
 
-