Package jetbrains.buildServer.vcs
Class ServerVcsSupport
- java.lang.Object
-
- jetbrains.buildServer.vcs.ServerVcsSupport
-
- All Implemented Interfaces:
VcsSupportConfig
,VcsSupportContext
,VcsSupportCore
- Direct Known Subclasses:
VcsSupport
public abstract class ServerVcsSupport extends java.lang.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 VcsSupportCore
getCore()
java.lang.String
getCurrentVersion(VcsRoot root)
Deprecated.this method could now be implemented viaVcsSupportContext.getCollectChangesPolicy()
protected <T extends VcsExtension>
TgetVcsCustomExtension(java.lang.Class<T> extensionClass)
<T extends VcsExtension>
TgetVcsExtension(java.lang.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 java.lang.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:
getCore
in interfaceVcsSupportContext
- Returns:
- the object with the core functions
-
getVcsExtension
@Nullable public final <T extends VcsExtension> T getVcsExtension(@NotNull java.lang.Class<T> extensionClass)
Description copied from interface:VcsSupportContext
Get a VcsExtension implementation by its class.- Specified by:
getVcsExtension
in interfaceVcsSupportContext
-
getVcsCustomExtension
@Nullable protected <T extends VcsExtension> T getVcsCustomExtension(@NotNull java.lang.Class<T> extensionClass)
-
-