public class ChangeEdits extends Object implements com.google.gerrit.extensions.restapi.ChildCollection<ChangeResource,ChangeEditResource>, com.google.gerrit.extensions.restapi.AcceptsCreate<ChangeResource>, com.google.gerrit.extensions.restapi.AcceptsPost<ChangeResource>, com.google.gerrit.extensions.restapi.AcceptsDelete<ChangeResource>
Modifier and Type | Class and Description |
---|---|
static class |
ChangeEdits.Create |
static class |
ChangeEdits.DeleteContent
Handler to delete a file.
|
static class |
ChangeEdits.DeleteFile |
static class |
ChangeEdits.Detail |
static class |
ChangeEdits.EditMessage |
static class |
ChangeEdits.Get |
static class |
ChangeEdits.GetMessage |
static class |
ChangeEdits.GetMeta |
static class |
ChangeEdits.Post
Post to edit collection resource.
|
static class |
ChangeEdits.Put
Put handler that is activated when PUT request is called on
collection element.
|
Modifier and Type | Method and Description |
---|---|
ChangeEdits.Create |
create(ChangeResource parent,
com.google.gerrit.extensions.restapi.IdString id) |
ChangeEdits.DeleteFile |
delete(ChangeResource parent,
com.google.gerrit.extensions.restapi.IdString id)
Create handler that is activated when collection element is accessed
but doesn't exist, e.
|
com.google.gerrit.extensions.restapi.RestView<ChangeResource> |
list() |
ChangeEditResource |
parse(ChangeResource rsrc,
com.google.gerrit.extensions.restapi.IdString id) |
ChangeEdits.Post |
post(ChangeResource parent) |
com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<ChangeEditResource>> |
views() |
public com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<ChangeEditResource>> views()
views
in interface com.google.gerrit.extensions.restapi.RestCollection<ChangeResource,ChangeEditResource>
public com.google.gerrit.extensions.restapi.RestView<ChangeResource> list()
list
in interface com.google.gerrit.extensions.restapi.RestCollection<ChangeResource,ChangeEditResource>
public ChangeEditResource parse(ChangeResource rsrc, com.google.gerrit.extensions.restapi.IdString id) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException, com.google.gerrit.extensions.restapi.AuthException, IOException, InvalidChangeOperationException, com.google.gwtorm.server.OrmException
parse
in interface com.google.gerrit.extensions.restapi.RestCollection<ChangeResource,ChangeEditResource>
com.google.gerrit.extensions.restapi.ResourceNotFoundException
com.google.gerrit.extensions.restapi.AuthException
IOException
InvalidChangeOperationException
com.google.gwtorm.server.OrmException
public ChangeEdits.Create create(ChangeResource parent, com.google.gerrit.extensions.restapi.IdString id) throws com.google.gerrit.extensions.restapi.RestApiException
create
in interface com.google.gerrit.extensions.restapi.AcceptsCreate<ChangeResource>
com.google.gerrit.extensions.restapi.RestApiException
public ChangeEdits.Post post(ChangeResource parent) throws com.google.gerrit.extensions.restapi.RestApiException
post
in interface com.google.gerrit.extensions.restapi.AcceptsPost<ChangeResource>
com.google.gerrit.extensions.restapi.RestApiException
public ChangeEdits.DeleteFile delete(ChangeResource parent, com.google.gerrit.extensions.restapi.IdString id) throws com.google.gerrit.extensions.restapi.RestApiException
delete
in interface com.google.gerrit.extensions.restapi.AcceptsDelete<ChangeResource>
com.google.gerrit.extensions.restapi.RestApiException