Class GetProject
- java.lang.Object
-
- com.google.gerrit.server.restapi.project.GetProject
-
- All Implemented Interfaces:
RestReadView<ProjectResource>,RestView<ProjectResource>
public class GetProject extends Object implements RestReadView<ProjectResource>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectInfoapply(ProjectResource rsrc)Process the view operation by reading from the resource.
-
-
-
Method Detail
-
apply
public ProjectInfo apply(ProjectResource rsrc)
Description copied from interface:RestReadViewProcess the view operation by reading from the resource.- Specified by:
applyin interfaceRestReadView<ProjectResource>- Parameters:
rsrc- resource to read.- Returns:
- result to return to the client. Use
BinaryResultto avoid automatic conversion to JSON.
-
-