Class SvnRepositoryAccess
java.lang.Object
org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess
- Direct Known Subclasses:
SvnNgRepositoryAccess
,SvnOldRepositoryAccess
public abstract class SvnRepositoryAccess
extends java.lang.Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static enum
static enum
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SvnRepositoryAccess
(ISvnOperationOptionsProvider operationOptionsProvider, SVNWCContext context) -
Method Summary
Modifier and TypeMethodDescriptionabstract SvnCopySource
createRemoteCopySource
(SVNWCContext context, SvnCopySource localCopySource) createRepository
(SVNURL url, java.lang.String expectedUuid, boolean mayReuse) abstract Structure<SvnRepositoryAccess.RepositoryInfo>
createRepositoryFor
(SvnTarget target, SVNRevision revision, SVNRevision pegRevision, java.io.File baseDirectory) getCopySource
(SvnTarget target, SVNRevision revision) java.util.Map<java.lang.String,
SVNMergeRangeList> getHistoryAsMergeInfo
(SVNRepository repos, SvnTarget target, long youngest, long oldest) private java.util.Map<java.lang.String,
SVNMergeRangeList> getHistoryAsMergeInfo
(SVNURL url, SVNRevision pegRevision, long rangeYoungest, long rangeOldest, boolean[] hasZero, SVNRepository repos) getLocations
(SVNRepository repository, SvnTarget path, SVNRevision revision, SVNRevision start, SVNRevision end) static java.util.Map<java.lang.String,
SVNMergeRangeList> getMergeInfoFromSegments
(java.util.Collection<SVNLocationSegment> segments) protected ISvnOperationOptionsProvider
protected java.lang.String
getPathRelativeToRoot
(SVNURL url, SVNURL reposRootURL, SVNRepository repos) java.lang.String
getPathRelativeToSession
(SVNURL url, SVNURL sessionURL, SVNRepository repos) java.util.Map<java.lang.String,
SVNMergeRangeList> getReposMergeInfo
(SVNRepository repository, java.lang.String path, long revision, SVNMergeInfoInheritance inheritance, boolean squelchIncapable) abstract Structure<SvnRepositoryAccess.RevisionsPair>
getRevisionNumber
(SVNRepository repository, SvnTarget path, SVNRevision revision, Structure<SvnRepositoryAccess.RevisionsPair> youngestRevision) abstract Structure<SvnRepositoryAccess.UrlInfo>
getURLFromPath
(SvnTarget path, SVNRevision revision, SVNRepository repository) protected SVNWCContext
getYoungestCommonAncestor
(SVNURL url1, long rev1, SVNURL url2, long rev2) protected SVNRevision[]
resolveRevisions
(SVNRevision pegRevision, SVNRevision revision, boolean isURL, boolean noticeLocalModifications) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
context
-
operationOptionsProvider
-
-
Constructor Details
-
SvnRepositoryAccess
protected SvnRepositoryAccess(ISvnOperationOptionsProvider operationOptionsProvider, SVNWCContext context) throws SVNException - Throws:
SVNException
-
-
Method Details
-
getOperationOptionsProvider
-
getWCContext
-
createRemoteCopySource
public abstract SvnCopySource createRemoteCopySource(SVNWCContext context, SvnCopySource localCopySource) throws SVNException - Throws:
SVNException
-
createRepositoryFor
public abstract Structure<SvnRepositoryAccess.RepositoryInfo> createRepositoryFor(SvnTarget target, SVNRevision revision, SVNRevision pegRevision, java.io.File baseDirectory) throws SVNException - Throws:
SVNException
-
getRevisionNumber
public abstract Structure<SvnRepositoryAccess.RevisionsPair> getRevisionNumber(SVNRepository repository, SvnTarget path, SVNRevision revision, Structure<SvnRepositoryAccess.RevisionsPair> youngestRevision) throws SVNException - Throws:
SVNException
-
getURLFromPath
public abstract Structure<SvnRepositoryAccess.UrlInfo> getURLFromPath(SvnTarget path, SVNRevision revision, SVNRepository repository) throws SVNException - Throws:
SVNException
-
resolveRevisions
protected SVNRevision[] resolveRevisions(SVNRevision pegRevision, SVNRevision revision, boolean isURL, boolean noticeLocalModifications) -
createRepository
public SVNRepository createRepository(SVNURL url, java.lang.String expectedUuid, boolean mayReuse) throws SVNException - Throws:
SVNException
-
getLocations
public Structure<SvnRepositoryAccess.LocationsInfo> getLocations(SVNRepository repository, SvnTarget path, SVNRevision revision, SVNRevision start, SVNRevision end) throws SVNException - Throws:
SVNException
-
getReposMergeInfo
public java.util.Map<java.lang.String,SVNMergeRangeList> getReposMergeInfo(SVNRepository repository, java.lang.String path, long revision, SVNMergeInfoInheritance inheritance, boolean squelchIncapable) throws SVNException - Throws:
SVNException
-
getPathRelativeToRoot
protected java.lang.String getPathRelativeToRoot(SVNURL url, SVNURL reposRootURL, SVNRepository repos) throws SVNException - Throws:
SVNException
-
getPathRelativeToSession
public java.lang.String getPathRelativeToSession(SVNURL url, SVNURL sessionURL, SVNRepository repos) -
getYoungestCommonAncestor
public SVNLocationSegment getYoungestCommonAncestor(SVNURL url1, long rev1, SVNURL url2, long rev2) throws SVNException - Throws:
SVNException
-
getHistoryAsMergeInfo
private java.util.Map<java.lang.String,SVNMergeRangeList> getHistoryAsMergeInfo(SVNURL url, SVNRevision pegRevision, long rangeYoungest, long rangeOldest, boolean[] hasZero, SVNRepository repos) throws SVNException - Throws:
SVNException
-
getMergeInfoFromSegments
public static java.util.Map<java.lang.String,SVNMergeRangeList> getMergeInfoFromSegments(java.util.Collection<SVNLocationSegment> segments) -
getCopySource
- Throws:
SVNException
-
getHistoryAsMergeInfo
public java.util.Map<java.lang.String,SVNMergeRangeList> getHistoryAsMergeInfo(SVNRepository repos, SvnTarget target, long youngest, long oldest) throws SVNException - Throws:
SVNException
-