public class GetStatistics extends java.lang.Object implements RestReadView<ProjectResource>
| Modifier and Type | Method and Description |
|---|---|
RepositoryStatistics |
apply(ProjectResource rsrc)
Process the view operation by reading from the resource.
|
public RepositoryStatistics apply(ProjectResource rsrc) throws ResourceNotFoundException, ResourceConflictException
RestReadViewapply in interface RestReadView<ProjectResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
to JSON.ResourceConflictException - the resource state does not permit this view to make the
changes at this time.ResourceNotFoundException