Class GetRelated
- java.lang.Object
-
- com.google.gerrit.server.restapi.change.GetRelated
-
- All Implemented Interfaces:
RestReadView<RevisionResource>
,RestView<RevisionResource>
public class GetRelated extends Object implements RestReadView<RevisionResource>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelatedChangesInfo
apply(RevisionResource rsrc)
Process the view operation by reading from the resource.static Set<String>
getAllGroups(ChangeNotes notes, PatchSetUtil psUtil)
-
-
-
Method Detail
-
apply
public RelatedChangesInfo apply(RevisionResource rsrc) throws org.eclipse.jgit.errors.RepositoryNotFoundException, IOException, NoSuchProjectException, PermissionBackendException
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<RevisionResource>
- Parameters:
rsrc
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
org.eclipse.jgit.errors.RepositoryNotFoundException
IOException
NoSuchProjectException
PermissionBackendException
-
getAllGroups
public static Set<String> getAllGroups(ChangeNotes notes, PatchSetUtil psUtil)
-
-