public interface VcsPushUi
Modifier and Type | Field and Description |
---|---|
static DataKey<VcsPushUi> |
VCS_PUSH_DIALOG |
Modifier and Type | Method and Description |
---|---|
boolean |
canPush()
Checks if push is available right now for selected repositories and their targets.
|
void |
executeAfterRunningPrePushHandlers(Task.Backgroundable activity)
Runs
pre-push handlers under a modal progress,
if they succeed, schedules the given background task, and closes the push dialog. |
VcsPushOptionValue |
getAdditionalOptionValue(PushSupport support)
Returns special push options, usually selected by user at the bottom of the push dialog.
|
java.util.Map<PushSupport<Repository,PushSource,PushTarget>,java.util.Collection<PushInfo>> |
getSelectedPushSpecs()
Returns push specifications (what is being pushed, where from and where to) collected from the push dialog,
grouped per PushSupports, which means in fact per-VCS.
|
void |
push(boolean forcePush)
Runs
pre-push handlers under a modal progress,
and after that starts push in a background task. |
void executeAfterRunningPrePushHandlers(Task.Backgroundable activity)
pre-push handlers
under a modal progress,
if they succeed, schedules the given background task, and closes the push dialog.void push(boolean forcePush)
pre-push handlers
under a modal progress,
and after that starts push in a background task.java.util.Map<PushSupport<Repository,PushSource,PushTarget>,java.util.Collection<PushInfo>> getSelectedPushSpecs()
boolean canPush()
VcsPushOptionValue getAdditionalOptionValue(PushSupport support)