Class GitHubResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.git.rest.resource.GitHubResource
-
@Singleton public class GitHubResource extends Object
-
-
Constructor Summary
Constructors Constructor Description GitHubResource(com.atlassian.sal.api.message.I18nResolver i18nResolver, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getAvailableRepositories(javax.ws.rs.core.UriInfo uriInfo, String username, RestRequest request)
javax.ws.rs.core.Response
getBranches(javax.ws.rs.core.UriInfo uriInfo, String owner, String name, RestRequest request)
-
-
-
Constructor Detail
-
GitHubResource
public GitHubResource(com.atlassian.sal.api.message.I18nResolver i18nResolver, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager)
-
-
Method Detail
-
getAvailableRepositories
public javax.ws.rs.core.Response getAvailableRepositories(@Context javax.ws.rs.core.UriInfo uriInfo, String username, RestRequest request)
- Parameters:
uriInfo
-username
-- Returns:
-
getBranches
public javax.ws.rs.core.Response getBranches(@Context javax.ws.rs.core.UriInfo uriInfo, String owner, String name, RestRequest request)
- Parameters:
uriInfo
-owner
-- Returns:
-
-