@Component public class DefaultSubversionClient extends Object implements SubversionClient
| Constructor and Description |
|---|
DefaultSubversionClient(SubversionSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
List<Commit> |
getCommits(SubversionRepo repo,
long startRevision)
Fetch all of the commits for the provided SubversionRepo.
|
long |
getRevisionClosestTo(String url,
Date revisionDate)
Find the revision number closest to the supplied date.
|
@Autowired public DefaultSubversionClient(SubversionSettings settings)
public List<Commit> getCommits(SubversionRepo repo, long startRevision)
SubversionClientgetCommits in interface SubversionClientrepo - SubversionRepostartRevision - starting revision numberpublic long getRevisionClosestTo(String url, Date revisionDate)
SubversionClientgetRevisionClosestTo in interface SubversionClienturl - url of subversion repositoryrevisionDate - revision dateCopyright © 2016 Pivotal Software, Inc.. All rights reserved.