public interface TestConnectionAwareRepository extends Repository
| Modifier and Type | Field and Description |
|---|---|
static String |
HOST_KEY
Marker field for error messages related to host key verification.
|
SELECTED_REPOSITORY, UNKNOWN_HOST| Modifier and Type | Method and Description |
|---|---|
ErrorCollection |
testConnection(long timeout,
TimeUnit unit)
Test connection to the repository within the given timeout.
|
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKeypopulateFromConfig, toConfigurationcollectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferentcustomizeBuildRequirements, removeBuildRequirementsaddDefaultValues, prepareConfigObject, validateinitgetEditHtml, getViewHtmlgetDescriptionstatic final String HOST_KEY
@NotNull ErrorCollection testConnection(long timeout, @NotNull TimeUnit unit)
timeout - the maximum time to waitunit - the time unit of the timeout argumentCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.