|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mycorp.examples.githubservice.impl.GitHubServiceAsync
public class GitHubServiceAsync
Example OSGi service for retrieving some data from GitHub.
Constructor Summary | |
---|---|
GitHubServiceAsync()
|
Method Summary | |
---|---|
java.util.concurrent.Future<java.lang.String[]> |
getRepositoriesAsync(java.lang.String pAccessToken)
Gets all repositories. |
static void |
main(java.lang.String[] args)
Stand alone service test. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GitHubServiceAsync()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
public java.util.concurrent.Future<java.lang.String[]> getRepositoriesAsync(java.lang.String pAccessToken)
IGitHubServiceAsync
getRepositoriesAsync
in interface IGitHubServiceAsync
pAccessToken
- see https://help.github.com/articles/creating-an-access-token-
for-command-line-use/
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |