public class Contributors
extends java.lang.Object
| Constructor and Description |
|---|
Contributors() |
| Modifier and Type | Method and Description |
|---|---|
static AllContributorsSerializer |
getAllContributorsSerializer(java.io.File contributorsFile)
Return Json serializer for all project contributors
|
static GitHubContributorsProvider |
getGitHubContributorsProvider(java.lang.String repository,
java.lang.String readOnlyAuthToken)
Fetches contributors from GitHub.
|
static ContributorsSerializer |
getLastContributorsSerializer(java.io.File contributorsFile)
Return Json serializer for last last contributions
|
public static GitHubContributorsProvider getGitHubContributorsProvider(java.lang.String repository, java.lang.String readOnlyAuthToken)
repository - name of GitHub repository, for example: "mockito/mockito"readOnlyAuthToken - the GitHub auth tokenpublic static ContributorsSerializer getLastContributorsSerializer(java.io.File contributorsFile)
contributorsFile - file where last contributions are storedContributorsSerializerpublic static AllContributorsSerializer getAllContributorsSerializer(java.io.File contributorsFile)
contributorsFile - file where all project contributions are storedAllContributorsSerializer