public final class PushController extends java.lang.Object implements Disposable
Modifier and Type | Class and Description |
---|---|
static class |
PushController.HandlerException
An exception thrown if a
PrePushHandler has failed to make the decision
by whatever reason: either it had been cancelled, or an execution exception had occurred. |
Disposable.Parent
Constructor and Description |
---|
PushController(Project project,
VcsPushDialog dialog,
java.util.Collection<? extends Repository> allRepos,
java.util.List<? extends Repository> preselectedRepositories,
Repository currentRepo,
PushSource pushSource) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<PushSupport<?,?,?>,VcsPushOptionsPanel> |
createAdditionalPanels() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
PrePushHandler.Result |
executeHandlers(ProgressIndicator indicator) |
Project |
getProject() |
PushLog |
getPushPanelLog() |
java.util.Map<PushSupport<Repository,PushSource,PushTarget>,java.util.Collection<PushInfo>> |
getSelectedPushSpecs() |
boolean |
isPushAllowed() |
void |
push(boolean force) |
public PushController(Project project, VcsPushDialog dialog, java.util.Collection<? extends Repository> allRepos, java.util.List<? extends Repository> preselectedRepositories, Repository currentRepo, PushSource pushSource)
public boolean isPushAllowed()
public PushLog getPushPanelLog()
public PrePushHandler.Result executeHandlers(ProgressIndicator indicator) throws ProcessCanceledException, PushController.HandlerException
public void push(boolean force)
public java.util.Map<PushSupport<Repository,PushSource,PushTarget>,java.util.Collection<PushInfo>> getSelectedPushSpecs()
public void dispose()
Disposable
dispose
in interface Disposable
public Project getProject()
public java.util.Map<PushSupport<?,?,?>,VcsPushOptionsPanel> createAdditionalPanels()