Package jetbrains.buildServer.vcs
Interface VcsSupportContext
-
- All Known Implementing Classes:
ServerVcsSupport
,VcsSupport
public interface VcsSupportContext
Gives an access to all necessary objects supporting a specific VCS- Since:
- 4.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BuildPatchPolicy
getBuildPatchPolicy()
CollectChangesPolicy
getCollectChangesPolicy()
VcsFileContentProvider
getContentProvider()
VcsSupportCore
getCore()
default LabelingSupport
getLabelingSupport()
default ListFilesPolicy
getListFilesPolicy()
Return list files policy or null if list files is not supporteddefault VcsPersonalSupport
getPersonalSupport()
default TestConnectionSupport
getTestConnectionSupport()
default UrlSupport
getUrlSupport()
<T extends VcsExtension>
TgetVcsExtension(java.lang.Class<T> extensionClass)
Get a VcsExtension implementation by its class.
-
-
-
Method Detail
-
getVcsExtension
@Nullable <T extends VcsExtension> T getVcsExtension(@NotNull java.lang.Class<T> extensionClass)
Get a VcsExtension implementation by its class.- Since:
- 8.0
-
getCore
@NotNull VcsSupportCore getCore()
- Returns:
- the object with the core functions
-
getPersonalSupport
@Nullable default VcsPersonalSupport getPersonalSupport()
- Returns:
- if the implementation supports pre-tested commits this method returns VcsPersonalSupport implementation. Otherwise null.
-
getLabelingSupport
@Nullable default LabelingSupport getLabelingSupport()
- Returns:
- if the implementation supports labeling this method returns VcsPersonalSupport implementation. Otherwise null.
-
getContentProvider
@NotNull VcsFileContentProvider getContentProvider()
- Returns:
- implementation for file content operations
-
getCollectChangesPolicy
@NotNull CollectChangesPolicy getCollectChangesPolicy()
- Returns:
- change collecting policy implementation
-
getBuildPatchPolicy
@NotNull BuildPatchPolicy getBuildPatchPolicy()
- Returns:
- patch building policy implementation
-
getTestConnectionSupport
@Nullable default TestConnectionSupport getTestConnectionSupport()
- Returns:
- test connection provider. Null if the implementation doesn't support test connections.
-
getUrlSupport
@Nullable default UrlSupport getUrlSupport()
-
getListFilesPolicy
@Nullable default ListFilesPolicy getListFilesPolicy()
Return list files policy or null if list files is not supported- Returns:
- see above
-
-