Class UnknownVcsSupport

    • Constructor Detail

      • UnknownVcsSupport

        public UnknownVcsSupport​(@NotNull
                                 String name)
    • Method Detail

      • getContentProvider

        @NotNull
        public VcsFileContentProvider getContentProvider()
        Returns:
        implementation for file content operations
      • getCollectChangesPolicy

        @NotNull
        public CollectChangesPolicy getCollectChangesPolicy()
        Returns:
        change collecting policy implementation
      • getBuildPatchPolicy

        @NotNull
        public BuildPatchPolicy getBuildPatchPolicy()
        Returns:
        patch building policy implementation
      • sourcesUpdatePossibleIfChangesNotFound

        public boolean sourcesUpdatePossibleIfChangesNotFound​(@NotNull
                                                              VcsRoot root)
        Description copied from interface: VcsSupportCore
        Must return true if source files in the build checkout directory can be updated even if no changes were detected between some versions. This is possible for example if VCS support plugin can't detect changes when a tag/label is moved. Note that if true is returned for some VCS root, plugin should be able to correctly build patch for this VCS root.
        For example, if plugin performs changes collecting in the buildPatch method and then creates patch by detected changes, it should create clean patch for VCS root for which it returned true in this method.
        Parameters:
        root - VCS root
        Returns:
        see above
      • getName

        @NotNull
        public String getName()
        Description copied from interface: VcsSupportConfig
        Unique VCS identifier among other installed plugins.
        Returns:
        - unique version control name
      • getDisplayName

        @NotNull
        public String getDisplayName()
        Description copied from interface: VcsSupportConfig
        Returns name to be shown in the UI.
        Returns:
        name to be shown to user
      • getVcsSettingsJspFilePath

        @NotNull
        public String getVcsSettingsJspFilePath()
        Description copied from interface: VcsSupportConfig
        Version control settings editor page.
        Returns:
        path to configuration jsp page
      • describeVcsRoot

        @NotNull
        public String describeVcsRoot​(@NotNull
                                      VcsRoot vcsRoot)
        Description copied from interface: VcsSupportConfig
        Returns presentable text describing specified vcs root, for example: svn: http://www.somehost.com/project/
        Parameters:
        vcsRoot - vcs root to describe
        Returns:
        vcs root description
      • getDefaultVcsProperties

        public Map<String,​String> getDefaultVcsProperties()
        Description copied from interface: VcsSupportConfig
        Returns default VCS property values.
        Returns:
        default configuration values
      • getVersionDisplayName

        @NotNull
        public String getVersionDisplayName​(@NotNull
                                            String version,
                                            @NotNull
                                            VcsRoot root)
                                     throws VcsException
        Description copied from interface: VcsSupportConfig
        Returns readable presentation of version (this format should be the same as DisplayVersion of VcsModification)
        Parameters:
        version - version in internal format
        root - root to get version display name for.
        Returns:
        display format of repository version
        Throws:
        VcsException - some problem with version control server occurred.