Package jetbrains.buildServer.vcs
Class ServerVcsSupport
- java.lang.Object
-
- jetbrains.buildServer.vcs.ServerVcsSupport
-
- All Implemented Interfaces:
VcsSupportConfig,VcsSupportContext,VcsSupportCore
- Direct Known Subclasses:
MockVcsSupport,UnknownVcsSupport,VcsSupport
public abstract class ServerVcsSupport extends Object implements VcsSupportContext, VcsSupportCore
Base class for all VCS support implementations.- Since:
- 4.5
-
-
Constructor Summary
Constructors Constructor Description ServerVcsSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VcsSupportCoregetCore()StringgetCurrentVersion(VcsRoot root)Deprecated.this method could now be implemented viaVcsSupportContext.getCollectChangesPolicy()protected <T extends VcsExtension>
TgetVcsCustomExtension(Class<T> extensionClass)<T extends VcsExtension>
TgetVcsExtension(Class<T> extensionClass)Get a VcsExtension implementation by its class.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.vcs.VcsSupportConfig
describeVcsRoot, getCheckoutProperties, getDefaultVcsProperties, getDisplayName, getName, getServerCheckoutProperties, getVcsPropertiesProcessor, getVcsSettingsJspFilePath, getVersionComparator, getVersionDisplayName, isAgentSideCheckoutAvailable, isDAGBased, isDAGBasedVcs
-
Methods inherited from interface jetbrains.buildServer.vcs.VcsSupportContext
getBuildPatchPolicy, getCollectChangesPolicy, getContentProvider, getLabelingSupport, getListFilesPolicy, getPersonalSupport, getTestConnectionSupport, getUrlSupport
-
Methods inherited from interface jetbrains.buildServer.vcs.VcsSupportCore
allowSourceCaching, isCurrentVersionExpensive, sourcesUpdatePossibleIfChangesNotFound
-
-
-
-
Method Detail
-
getCurrentVersion
@NotNull @Deprecated public String getCurrentVersion(@NotNull VcsRoot root) throws VcsException
Deprecated.this method could now be implemented viaVcsSupportContext.getCollectChangesPolicy()Repository state is now implemented via jetbrains.buildServer.vcs.CollectChangesPolicy, this method is left here for compatibility- Throws:
VcsException- Since:
- 8.1
-
getCore
@NotNull public VcsSupportCore getCore()
- Specified by:
getCorein interfaceVcsSupportContext- Returns:
- the object with the core functions
-
getVcsExtension
@Nullable public final <T extends VcsExtension> T getVcsExtension(@NotNull Class<T> extensionClass)
Description copied from interface:VcsSupportContextGet a VcsExtension implementation by its class.- Specified by:
getVcsExtensionin interfaceVcsSupportContext
-
getVcsCustomExtension
@Nullable protected <T extends VcsExtension> T getVcsCustomExtension(@NotNull Class<T> extensionClass)
-
-