Interface VcsConnectionTester

    • Field Detail

      • HOST_KEY

        static final String HOST_KEY
        Marker field for error messages related to host key verification.
        See Also:
        Constant Field Values
    • Method Detail

      • testConnection

        @NotNull
        @NotNull ErrorCollection testConnection​(@NotNull
                                                @NotNull VcsRepositoryData repositoryData,
                                                long timeout,
                                                @NotNull
                                                @NotNull TimeUnit unit)
        Test connection to the repository within the given timeout. The method should stop executing after the given time elapses.
        Parameters:
        repositoryData - configuration to be tested
        timeout - the maximum time to wait
        unit - the time unit of the timeout argument
        Returns:
        Errors discovered during testing connection. Empty error collection should be returned if connection was successful. The errors should be translated to error messages, rather than field errors.
        Since:
        5.10