com.capitalone.dashboard.collector.GitHubClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of github-scm-collector Show documentation
Show all versions of github-scm-collector Show documentation
Github Collector Microservice collecting stats from Github
package com.capitalone.dashboard.collector;
import com.capitalone.dashboard.model.Commit;
import com.capitalone.dashboard.model.GitHubRepo;
import java.util.List;
/**
* Client for fetching commit history from GitHub
*/
public interface GitHubClient {
/**
* Fetch all of the commits for the provided SubversionRepo.
*
* @param repo SubversionRepo
* @param firstRun
* @param startRevision starting revision number
* @return all commits in repo
*/
List getCommits(GitHubRepo repo, boolean firstRun);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy