Interface Repository2VcsTypeConverter

    • Method Detail

      • acceptedRepositoryPluginKey

        String acceptedRepositoryPluginKey()
      • producedVcsTypePluginKey

        String producedVcsTypePluginKey()
      • extractServerConfiguration

        @NotNull
        @NotNull Map<String,​String> extractServerConfiguration​(@NotNull
                                                                     @NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
        Extract server part of repository configuration.
        Parameters:
        repositoryConfiguration -
        Returns:
        server configuration
      • extractBranchConfiguration

        @Nullable
        default @Nullable Map<String,​String> extractBranchConfiguration​(@NotNull
                                                                              @NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
        Extract branch configuration. Return null if branches are not supported.
        Parameters:
        repositoryConfiguration -
        Returns:
        branch configuration or null if not supported
      • asLegacyData

        default org.apache.commons.configuration.HierarchicalConfiguration asLegacyData​(@NotNull
                                                                                        @NotNull VcsRepositoryData vcsRepositoryData)
        Convert new style of repository plugin to an old style. This is optional but can be useful if a plugin relying on old repository API are still in use.
        Parameters:
        vcsRepositoryData -