public class CherryPick extends RetryingRestModifyView<RevisionResource,CherryPickInput,CherryPickChangeInfo> implements UiAction<RevisionResource>
UiAction.Description
Modifier and Type | Method and Description |
---|---|
CherryPickChangeInfo |
applyImpl(BatchUpdate.Factory updateFactory,
RevisionResource rsrc,
CherryPickInput input) |
UiAction.Description |
getDescription(RevisionResource rsrc)
Get the description of the action customized for the resource.
|
apply
public CherryPickChangeInfo applyImpl(BatchUpdate.Factory updateFactory, RevisionResource rsrc, CherryPickInput input) throws java.io.IOException, UpdateException, RestApiException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException, NoSuchProjectException
applyImpl
in class RetryingRestModifyView<RevisionResource,CherryPickInput,CherryPickChangeInfo>
java.io.IOException
UpdateException
RestApiException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
NoSuchProjectException
public UiAction.Description getDescription(RevisionResource rsrc)
UiAction
getDescription
in interface UiAction<RevisionResource>
rsrc
- the resource the view would act upon if the action is invoked by the client.
Information from the resource can be used to customize the description.id
and method
properties. If null the action will assumed unavailable and not presented. This is usually
the same as setVisible(false)
.