Class PutDescription
- java.lang.Object
-
- com.google.gerrit.server.restapi.project.PutDescription
-
- All Implemented Interfaces:
RestModifyView<ProjectResource,DescriptionInput>
,RestView<ProjectResource>
public class PutDescription extends Object implements RestModifyView<ProjectResource,DescriptionInput>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<String>
apply(ProjectResource resource, DescriptionInput input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Response<String> apply(ProjectResource resource, DescriptionInput input) throws AuthException, ResourceConflictException, ResourceNotFoundException, IOException, PermissionBackendException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<ProjectResource,DescriptionInput>
- 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. - Throws:
AuthException
- the client is not permitted to access this view.ResourceConflictException
- the resource state does not permit this view to make the changes at this time.ResourceNotFoundException
IOException
PermissionBackendException
-
-