public class GetRelated extends Object implements RestReadView<RevisionResource>
| Modifier and Type | Method and Description |
|---|---|
RelatedChangesInfo |
apply(RevisionResource rsrc)
Process the view operation by reading from the resource.
|
static Set<String> |
getAllGroups(ChangeNotes notes,
PatchSetUtil psUtil) |
public RelatedChangesInfo apply(RevisionResource rsrc) throws org.eclipse.jgit.errors.RepositoryNotFoundException, IOException, NoSuchProjectException, PermissionBackendException
RestReadViewapply in interface RestReadView<RevisionResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
to JSON.org.eclipse.jgit.errors.RepositoryNotFoundExceptionIOExceptionNoSuchProjectExceptionPermissionBackendExceptionpublic static Set<String> getAllGroups(ChangeNotes notes, PatchSetUtil psUtil)