public class SshRepositoryUriResolver extends RepositoryUriResolver
RepositoryUriResolver
that resolves SSH git URLs.Constructor and Description |
---|
SshRepositoryUriResolver() |
Modifier and Type | Method and Description |
---|---|
String |
getRepositoryUri(String apiUri,
String owner,
String repository)
Resolves the URI of a repository.
|
hostnameFromApiUri
public String getRepositoryUri(String apiUri, String owner, String repository)
getRepositoryUri
in class RepositoryUriResolver
apiUri
- the API URL of the GitHub server.owner
- the owner of the repository.repository
- the name of the repository.Copyright © 2016–2019. All rights reserved.