Package com.google.gerrit.server.project
Class ListChildProjects
- java.lang.Object
-
- com.google.gerrit.server.project.ListChildProjects
-
- All Implemented Interfaces:
RestReadView<ProjectResource>
,RestView<ProjectResource>
public class ListChildProjects extends Object implements RestReadView<ProjectResource>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ProjectInfo>
apply(ProjectResource rsrc)
Process the view operation by reading from the resource.void
setRecursive(boolean recursive)
-
-
-
Method Detail
-
setRecursive
public void setRecursive(boolean recursive)
-
apply
public List<ProjectInfo> apply(ProjectResource rsrc) throws PermissionBackendException
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<ProjectResource>
- Parameters:
rsrc
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
PermissionBackendException
-
-