public class CheckMergeability extends 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(String source) |
void |
setStrategy(String strategy) |
public void setSource(String source)
public void setStrategy(String strategy)
public com.google.gerrit.extensions.common.MergeableInfo apply(BranchResource resource) throws IOException, com.google.gerrit.extensions.restapi.BadRequestException, com.google.gerrit.extensions.restapi.ResourceNotFoundException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<BranchResource>
IOException
com.google.gerrit.extensions.restapi.BadRequestException
com.google.gerrit.extensions.restapi.ResourceNotFoundException