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 ProjectInfoapply(ChildProjectResource rsrc)Process the view operation by reading from the resource.voidsetRecursive(boolean recursive)
-
-
-
Method Detail
-
setRecursive
public void setRecursive(boolean recursive)
-
apply
public ProjectInfo apply(ChildProjectResource rsrc) throws ResourceNotFoundException
Description copied from interface:RestReadViewProcess the view operation by reading from the resource.- Specified by:
applyin interfaceRestReadView<ChildProjectResource>- Parameters:
rsrc- resource to read.- Returns:
- result to return to the client. Use
BinaryResultto avoid automatic conversion to JSON. - Throws:
ResourceNotFoundException
-
-