public class Rebase extends RetryingRestModifyView<RevisionResource,RebaseInput,ChangeInfo> implements RestModifyView<RevisionResource,RebaseInput>, UiAction<RevisionResource>
Modifier and Type | Class and Description |
---|---|
static class |
Rebase.CurrentRevision |
UiAction.Description
Constructor and Description |
---|
Rebase(RetryHelper retryHelper,
GitRepositoryManager repoManager,
RebaseChangeOp.Factory rebaseFactory,
RebaseUtil rebaseUtil,
ChangeJson.Factory json,
PermissionBackend permissionBackend,
ProjectCache projectCache,
PatchSetUtil patchSetUtil) |
Modifier and Type | Method and Description |
---|---|
protected ChangeInfo |
applyImpl(BatchUpdate.Factory updateFactory,
RevisionResource rsrc,
RebaseInput input) |
UiAction.Description |
getDescription(RevisionResource rsrc)
Get the description of the action customized for the resource.
|
apply
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
@Inject public Rebase(RetryHelper retryHelper, GitRepositoryManager repoManager, RebaseChangeOp.Factory rebaseFactory, RebaseUtil rebaseUtil, ChangeJson.Factory json, PermissionBackend permissionBackend, ProjectCache projectCache, PatchSetUtil patchSetUtil)
protected ChangeInfo applyImpl(BatchUpdate.Factory updateFactory, RevisionResource rsrc, RebaseInput input) throws UpdateException, RestApiException, java.io.IOException, PermissionBackendException
applyImpl
in class RetryingRestModifyView<RevisionResource,RebaseInput,ChangeInfo>
UpdateException
RestApiException
java.io.IOException
PermissionBackendException
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)
.