public class CheckMergeability extends java.lang.Object implements com.google.gerrit.extensions.restapi.RestReadView<BranchResource>
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.common.MergeableInfo |
apply(BranchResource resource) |
void |
setSource(java.lang.String source) |
void |
setStrategy(java.lang.String strategy) |
public void setSource(java.lang.String source)
public void setStrategy(java.lang.String strategy)
public com.google.gerrit.extensions.common.MergeableInfo apply(BranchResource resource) throws java.io.IOException, com.google.gerrit.extensions.restapi.BadRequestException, com.google.gerrit.extensions.restapi.ResourceNotFoundException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<BranchResource>
java.io.IOException
com.google.gerrit.extensions.restapi.BadRequestException
com.google.gerrit.extensions.restapi.ResourceNotFoundException