public abstract class PushSupport<Repo extends Repository,Source extends PushSource,Target extends PushTarget>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<PushSupport<? extends Repository,? extends PushSource,? extends PushTarget>> |
PUSH_SUPPORT_EP |
Constructor and Description |
---|
PushSupport() |
Modifier and Type | Method and Description |
---|---|
VcsPushOptionsPanel |
createOptionsPanel() |
abstract PushTargetPanel<Target> |
createTargetPanel(Repo repository,
Source source,
Target defaultTarget) |
abstract Target |
getDefaultTarget(Repo repository) |
Target |
getDefaultTarget(Repo repository,
Source source) |
abstract OutgoingCommitsProvider<Repo,Source,Target> |
getOutgoingCommitsProvider() |
abstract Pusher<Repo,Source,Target> |
getPusher() |
abstract RepositoryManager<Repo> |
getRepositoryManager() |
abstract Source |
getSource(Repo repository) |
abstract AbstractVcs |
getVcs() |
abstract boolean |
isForcePushAllowed(Repo repo,
Target target)
Returns true if force push is allowed now in the selected repository.
|
abstract boolean |
isSilentForcePushAllowed(Target target) |
boolean |
mayChangeTargetsSync() |
abstract void |
saveSilentForcePushTarget(Target target) |
boolean |
shouldRequestIncomingChangesForNotCheckedRepositories() |
public static final ExtensionPointName<PushSupport<? extends Repository,? extends PushSource,? extends PushTarget>> PUSH_SUPPORT_EP
public abstract AbstractVcs getVcs()
public abstract OutgoingCommitsProvider<Repo,Source,Target> getOutgoingCommitsProvider()
public abstract Target getDefaultTarget(Repo repository)
public Target getDefaultTarget(Repo repository, Source source)
public abstract Source getSource(Repo repository)
public abstract RepositoryManager<Repo> getRepositoryManager()
public VcsPushOptionsPanel createOptionsPanel()
public abstract PushTargetPanel<Target> createTargetPanel(Repo repository, Source source, Target defaultTarget)
public boolean shouldRequestIncomingChangesForNotCheckedRepositories()
public abstract boolean isForcePushAllowed(Repo repo, Target target)
public abstract boolean isSilentForcePushAllowed(Target target)
public abstract void saveSilentForcePushTarget(Target target)
public boolean mayChangeTargetsSync()