public class SuggestChangeReviewers extends SuggestReviewers implements RestReadView<ChangeResource>
limit, maxSuggestedReviewers, query, reviewersUtil
Modifier and Type | Method and Description |
---|---|
java.util.List<SuggestedReviewerInfo> |
apply(ChangeResource rsrc)
Process the view operation by reading from the resource.
|
configListener, getLimit, getMaxAllowed, getMaxAllowedWithoutConfirmation, getQuery, getSuggestAccounts, setLimit, setQuery
public java.util.List<SuggestedReviewerInfo> apply(ChangeResource rsrc) throws AuthException, BadRequestException, java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException
RestReadView
apply
in interface RestReadView<ChangeResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException