Package com.google.gerrit.server.project
Class Index
- java.lang.Object
-
- com.google.gerrit.server.project.Index
-
- All Implemented Interfaces:
RestModifyView<ProjectResource,ProjectInput>
,RestView<ProjectResource>
public class Index extends Object implements RestModifyView<ProjectResource,ProjectInput>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response.Accepted
apply(ProjectResource resource, ProjectInput input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Response.Accepted apply(ProjectResource resource, ProjectInput input)
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<ProjectResource,ProjectInput>
- Parameters:
resource
- resource to modify.input
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON.
-
-