Class GithubConsumerCachedStorage
java.lang.Object
org.exoplatform.gamification.github.storage.GithubConsumerStorage
org.exoplatform.gamification.github.storage.cached.GithubConsumerCachedStorage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGithubConsumerCachedStorage(org.exoplatform.services.cache.CacheService cacheService) -
Method Summary
Modifier and TypeMethodDescriptioncheckGitHubTokenStatus(String token) voidvoidclearCache(WebHook webHook) deleteWebhookHook(WebHook webHook) retrieveOrganizationRepos(String organizationName, String accessToken, int page, int perPage, String keyword) retrieveRemoteOrganization(long organizationId, String accessToken) Methods inherited from class org.exoplatform.gamification.github.storage.GithubConsumerStorage
createWebhook, forceUpdateWebhook, retrieveRemoteOrganization
-
Field Details
-
GITHUB_CACHE_NAME
- See Also:
-
-
Constructor Details
-
GithubConsumerCachedStorage
public GithubConsumerCachedStorage(org.exoplatform.services.cache.CacheService cacheService)
-
-
Method Details
-
deleteWebhookHook
- Overrides:
deleteWebhookHookin classGithubConsumerStorage
-
retrieveOrganizationRepos
public List<RemoteRepository> retrieveOrganizationRepos(String organizationName, String accessToken, int page, int perPage, String keyword) - Overrides:
retrieveOrganizationReposin classGithubConsumerStorage
-
retrieveRemoteOrganization
- Overrides:
retrieveRemoteOrganizationin classGithubConsumerStorage
-
checkGitHubTokenStatus
- Overrides:
checkGitHubTokenStatusin classGithubConsumerStorage
-
clearCache
public void clearCache()- Overrides:
clearCachein classGithubConsumerStorage
-
clearCache
- Overrides:
clearCachein classGithubConsumerStorage
-