public final class ProjectCrawler extends Object implements RepositoryManagement
ServiceLoader
and putting the RepositoryManagementBuilder
implementation in the
/META-INF/services/org.springframework.cloud.repositorymanagement.RepositoryManagementBuilder
fileConstructor and Description |
---|
ProjectCrawler(Options options) |
Modifier and Type | Method and Description |
---|---|
String |
fileContent(String org,
String repo,
String branch,
String filePath)
Fetches the contents of the file
|
List<Repository> |
repositories(String org) |
public ProjectCrawler(Options options)
public List<Repository> repositories(String org)
repositories
in interface RepositoryManagement
org
- - for the given organizationpublic String fileContent(String org, String repo, String branch, String filePath)
RepositoryManagement
fileContent
in interface RepositoryManagement
org
- - organizationrepo
- - repositorybranch
- - branch of the repositoryfilePath
- - path to the fileCopyright © 2018 Pivotal Software, Inc.. All rights reserved.