Class CheckSubmitRequirement

java.lang.Object
com.google.gerrit.server.restapi.change.CheckSubmitRequirement
All Implemented Interfaces:
RestModifyView<ChangeResource,SubmitRequirementInput>, RestView<ChangeResource>

public class CheckSubmitRequirement extends Object implements RestModifyView<ChangeResource,SubmitRequirementInput>
A rest view to evaluate (test) a SubmitRequirement on a given change. The submit requirement can be supplied in one of two ways:

1) Using the SubmitRequirementInput.

2) From a change to the RefNames.REFS_CONFIG branch and the name of the submit-requirement.