Class ChangeEdits.Detail
- java.lang.Object
-
- com.google.gerrit.server.restapi.change.ChangeEdits.Detail
-
- All Implemented Interfaces:
RestReadView<ChangeResource>
,RestView<ChangeResource>
- Enclosing class:
- ChangeEdits
public static class ChangeEdits.Detail extends Object implements RestReadView<ChangeResource>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<EditInfo>
apply(ChangeResource rsrc)
Process the view operation by reading from the resource.void
setBase(String base)
void
setDownloadCommands(boolean downloadCommands)
void
setList(boolean list)
-
-
-
Method Detail
-
setBase
public void setBase(String base)
-
setList
public void setList(boolean list)
-
setDownloadCommands
public void setDownloadCommands(boolean downloadCommands)
-
apply
public Response<EditInfo> apply(ChangeResource rsrc) throws AuthException, IOException, ResourceNotFoundException, PermissionBackendException
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<ChangeResource>
- Parameters:
rsrc
- resource to read.- 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.IOException
ResourceNotFoundException
PermissionBackendException
-
-