public interface PrePushHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
PrePushHandler.Result
Handler's decision of whether a push must be performed or canceled
|
| Modifier and Type | Field and Description |
|---|---|
static ExtensionPointName<PrePushHandler> |
EP_NAME |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPresentableName()
Presentable name used in dialogs, UI, etc
|
PrePushHandler.Result |
handle(java.util.List<PushInfo> pushDetails,
ProgressIndicator indicator)
Check synchronously if the push operation should be performed or canceled for specified
PushInfos |
static final ExtensionPointName<PrePushHandler> EP_NAME
java.lang.String getPresentableName()
PrePushHandler.Result handle(java.util.List<PushInfo> pushDetails, ProgressIndicator indicator)
PushInfos
Note: it is permissible for a handler to show it's own modal dialogs with specifying
the supplied indicator's modality state.
pushDetails - information about repository, source and target branches, and commits to be pushedindicator - progress indicator to cancel this handler if necessary