com.mycorp.examples.githubservice
Interface IGitHubService

All Known Implementing Classes:
GitHubService

public interface IGitHubService

Example OSGi service for retrieving some data from GitHub.

Since:
1.0

Method Summary
 java.lang.String[] getIssues(java.lang.String pAccessToken, java.lang.String Owner, java.lang.String pRepository)
          Gets all issues from repository.
 java.lang.String[] getRepositories(java.lang.String pAccessToken)
          Gets all repositories.
 

Method Detail

getRepositories

java.lang.String[] getRepositories(java.lang.String pAccessToken)
Gets all repositories.

Parameters:
pAccessToken - see https://help.github.com/articles/creating-an-access-token- for-command-line-use/
Returns:
All this repositories for this access token

getIssues

java.lang.String[] getIssues(java.lang.String pAccessToken,
                             java.lang.String Owner,
                             java.lang.String pRepository)
Gets all issues from repository.

Parameters:
pAccessToken - see https://help.github.com/articles/creating-an-access-token- for-command-line-use/
pOwner - the owner of the repository
pRepository - the name of the repository to investigate
Returns:
All issues for the passed repository