| Modifier and Type | Field and Description |
|---|---|
static int |
HISTORY_MAX_DEPTH |
| Constructor and Description |
|---|
SVNClientImpl(SVNEventDao svnEventDao,
net.nemerosa.ontrack.model.support.EnvService envService,
net.nemerosa.ontrack.tx.TransactionService transactionService) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
download(SVNRepository repository,
java.lang.String path) |
boolean |
exists(SVNRepository repository,
org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision) |
java.util.Optional<java.lang.String> |
getBasePath(SVNRepository svnRepository,
java.lang.String branchPath) |
java.util.List<java.lang.String> |
getBranches(SVNRepository repository,
org.tmatesoft.svn.core.SVNURL url) |
protected org.tmatesoft.svn.core.wc.SVNClientManager |
getClientManager(SVNRepository repository) |
java.lang.String |
getDiff(SVNRepository repository,
java.lang.String path,
java.util.List<java.lang.Long> revisions) |
protected org.tmatesoft.svn.core.wc.SVNDiffClient |
getDiffClient(SVNRepository repository) |
SVNHistory |
getHistory(SVNRepository repository,
java.lang.String path) |
org.tmatesoft.svn.core.wc.SVNInfo |
getInfo(SVNRepository repository,
org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision)
Gets the Subversion information about a URL in a repository
|
protected org.tmatesoft.svn.core.wc.SVNLogClient |
getLogClient(SVNRepository repository) |
java.util.List<java.lang.Long> |
getMergedRevisions(SVNRepository repository,
org.tmatesoft.svn.core.SVNURL url,
long revision) |
SVNReference |
getReference(SVNRepository repository,
java.lang.String path) |
long |
getRepositoryRevision(SVNRepository repository,
org.tmatesoft.svn.core.SVNURL url) |
java.util.List<SVNRevisionPath> |
getRevisionPaths(SVNRepository repository,
long revision) |
protected org.tmatesoft.svn.core.wc.SVNWCClient |
getWCClient(SVNRepository repository) |
boolean |
isBranch(SVNRepository repository,
java.lang.String path) |
boolean |
isTag(SVNRepository repository,
java.lang.String path) |
boolean |
isTagOrBranch(SVNRepository repository,
java.lang.String path) |
boolean |
isTrunk(java.lang.String path) |
boolean |
isTrunkOrBranch(SVNRepository repository,
java.lang.String path) |
void |
log(SVNRepository repository,
org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision pegRevision,
org.tmatesoft.svn.core.wc.SVNRevision startRevision,
org.tmatesoft.svn.core.wc.SVNRevision stopRevision,
boolean stopOnCopy,
boolean discoverChangedPaths,
long limit,
boolean includeMergedRevisions,
org.tmatesoft.svn.core.ISVNLogEntryHandler isvnLogEntryHandler) |
public static final int HISTORY_MAX_DEPTH
@Autowired public SVNClientImpl(SVNEventDao svnEventDao, net.nemerosa.ontrack.model.support.EnvService envService, net.nemerosa.ontrack.tx.TransactionService transactionService)
public boolean exists(SVNRepository repository, org.tmatesoft.svn.core.SVNURL url, org.tmatesoft.svn.core.wc.SVNRevision revision)
public long getRepositoryRevision(SVNRepository repository, org.tmatesoft.svn.core.SVNURL url)
getRepositoryRevision in interface SVNClientpublic void log(SVNRepository repository, org.tmatesoft.svn.core.SVNURL url, org.tmatesoft.svn.core.wc.SVNRevision pegRevision, org.tmatesoft.svn.core.wc.SVNRevision startRevision, org.tmatesoft.svn.core.wc.SVNRevision stopRevision, boolean stopOnCopy, boolean discoverChangedPaths, long limit, boolean includeMergedRevisions, org.tmatesoft.svn.core.ISVNLogEntryHandler isvnLogEntryHandler)
public java.util.List<java.lang.Long> getMergedRevisions(SVNRepository repository, org.tmatesoft.svn.core.SVNURL url, long revision)
getMergedRevisions in interface SVNClientpublic SVNHistory getHistory(SVNRepository repository, java.lang.String path)
getHistory in interface SVNClientpublic java.util.List<SVNRevisionPath> getRevisionPaths(SVNRepository repository, long revision)
getRevisionPaths in interface SVNClientpublic java.util.List<java.lang.String> getBranches(SVNRepository repository, org.tmatesoft.svn.core.SVNURL url)
getBranches in interface SVNClientpublic java.lang.String getDiff(SVNRepository repository, java.lang.String path, java.util.List<java.lang.Long> revisions)
public java.util.Optional<java.lang.String> download(SVNRepository repository, java.lang.String path)
public java.util.Optional<java.lang.String> getBasePath(SVNRepository svnRepository, java.lang.String branchPath)
getBasePath in interface SVNClientpublic SVNReference getReference(SVNRepository repository, java.lang.String path)
getReference in interface SVNClientpublic org.tmatesoft.svn.core.wc.SVNInfo getInfo(SVNRepository repository, org.tmatesoft.svn.core.SVNURL url, org.tmatesoft.svn.core.wc.SVNRevision revision)
SVNClientpublic boolean isTrunkOrBranch(SVNRepository repository, java.lang.String path)
isTrunkOrBranch in interface SVNClientpublic boolean isTagOrBranch(SVNRepository repository, java.lang.String path)
isTagOrBranch in interface SVNClientpublic boolean isTag(SVNRepository repository, java.lang.String path)
public boolean isBranch(SVNRepository repository, java.lang.String path)
protected org.tmatesoft.svn.core.wc.SVNWCClient getWCClient(SVNRepository repository)
protected org.tmatesoft.svn.core.wc.SVNLogClient getLogClient(SVNRepository repository)
protected org.tmatesoft.svn.core.wc.SVNDiffClient getDiffClient(SVNRepository repository)
protected org.tmatesoft.svn.core.wc.SVNClientManager getClientManager(SVNRepository repository)