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 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