Class MergeValidators


  • public class MergeValidators
    extends Object
    Collection of validators that run inside Gerrit before a change is submitted. The main purpose is to ensure that NoteDb data is mutated in a controlled way.

    The difference between this and OnSubmitValidators is that this validates the original commit. Depending on the SubmitStrategy that the project chooses, the resulting commit in the repo might differ from this original commit. In case you want to validate the resulting commit, use OnSubmitValidators