Package com.google.gerrit.server.project
Class GetStatistics
- java.lang.Object
-
- com.google.gerrit.server.project.GetStatistics
-
- All Implemented Interfaces:
RestReadView<ProjectResource>,RestView<ProjectResource>
public class GetStatistics extends Object implements RestReadView<ProjectResource>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gerrit.server.project.RepositoryStatisticsapply(ProjectResource rsrc)Process the view operation by reading from the resource.
-
-
-
Method Detail
-
apply
public com.google.gerrit.server.project.RepositoryStatistics apply(ProjectResource rsrc) throws ResourceNotFoundException, ResourceConflictException
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. - Throws:
ResourceConflictException- the resource state does not permit this view to make the changes at this time.ResourceNotFoundException
-
-