public abstract class RepositoryUriResolver extends Object
| Constructor and Description |
|---|
RepositoryUriResolver() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getRepositoryUri(String apiUri,
String owner,
String repository)
Resolves the URI of a repository.
|
static String |
hostnameFromApiUri(String apiUri)
Helper method that returns the hostname of a GitHub server from its API URL.
|
@NonNull public abstract String getRepositoryUri(@NonNull String apiUri, @NonNull String owner, @NonNull String repository)
apiUri - the API URL of the GitHub server.owner - the owner of the repository.repository - the name of the repository.Copyright © 2016. All rights reserved.