Package jetbrains.buildServer.vcs
Interface VcsSupportContext
-
- All Known Implementing Classes:
MockBranchSupport,MockVcsSupport,ServerVcsSupport,UnknownVcsSupport,VcsSupport
public interface VcsSupportContextGives 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 BuildPatchPolicygetBuildPatchPolicy()CollectChangesPolicygetCollectChangesPolicy()VcsFileContentProvidergetContentProvider()VcsSupportCoregetCore()default LabelingSupportgetLabelingSupport()default ListFilesPolicygetListFilesPolicy()Return list files policy or null if list files is not supporteddefault VcsPersonalSupportgetPersonalSupport()default TestConnectionSupportgetTestConnectionSupport()default UrlSupportgetUrlSupport()<T extends VcsExtension>
TgetVcsExtension(Class<T> extensionClass)Get a VcsExtension implementation by its class.
-
-
-
Method Detail
-
getVcsExtension
@Nullable <T extends VcsExtension> T getVcsExtension(@NotNull 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
-
-