public class PublishDraftPatchSet extends java.lang.Object implements com.google.gerrit.extensions.restapi.RestModifyView<RevisionResource,PublishDraftPatchSet.Input>, com.google.gerrit.extensions.webui.UiAction<RevisionResource>
Modifier and Type | Class and Description |
---|---|
static class |
PublishDraftPatchSet.CurrentRevision |
static class |
PublishDraftPatchSet.Input |
Constructor and Description |
---|
PublishDraftPatchSet(com.google.inject.Provider<com.google.gerrit.reviewdb.server.ReviewDb> dbProvider,
ChangeUpdate.Factory updateFactory,
PatchSetNotificationSender sender,
ChangeHooks hooks,
ChangeIndexer indexer) |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.restapi.Response<?> |
apply(RevisionResource rsrc,
PublishDraftPatchSet.Input input) |
com.google.gerrit.extensions.webui.UiAction.Description |
getDescription(RevisionResource rsrc) |
@Inject public PublishDraftPatchSet(com.google.inject.Provider<com.google.gerrit.reviewdb.server.ReviewDb> dbProvider, ChangeUpdate.Factory updateFactory, PatchSetNotificationSender sender, ChangeHooks hooks, ChangeIndexer indexer)
public com.google.gerrit.extensions.restapi.Response<?> apply(RevisionResource rsrc, PublishDraftPatchSet.Input input) throws com.google.gerrit.extensions.restapi.AuthException, com.google.gerrit.extensions.restapi.ResourceNotFoundException, com.google.gerrit.extensions.restapi.ResourceConflictException, com.google.gwtorm.server.OrmException, java.io.IOException
apply
in interface com.google.gerrit.extensions.restapi.RestModifyView<RevisionResource,PublishDraftPatchSet.Input>
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.extensions.restapi.ResourceNotFoundException
com.google.gerrit.extensions.restapi.ResourceConflictException
com.google.gwtorm.server.OrmException
java.io.IOException
public com.google.gerrit.extensions.webui.UiAction.Description getDescription(RevisionResource rsrc)
getDescription
in interface com.google.gerrit.extensions.webui.UiAction<RevisionResource>