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