Class SVNStatusEditor17
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.SVNStatusEditor17
- Direct Known Subclasses:
SVNRemoteStatusEditor17
public class SVNStatusEditor17
extends java.lang.Object
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ISvnFileListHook
protected SVNDepth
protected java.util.Map<java.io.File,
java.io.File> protected ISvnFileListHook
protected java.util.Collection<java.lang.String>
private boolean
protected boolean
protected boolean
protected boolean
protected java.io.File
protected java.util.Map<java.lang.String,
SVNLock> protected SVNURL
protected ISvnObjectReceiver<SvnStatus>
protected long
protected SVNWCContext
protected java.lang.String
private SVNWCDbRoot
-
Constructor Summary
ConstructorsConstructorDescriptionSVNStatusEditor17
(java.io.File path, SVNWCContext wcContext, ISVNOptions options, boolean noIgnore, boolean reportAll, SVNDepth depth, ISvnObjectReceiver<SvnStatus> handler) -
Method Summary
Modifier and TypeMethodDescriptionstatic SvnStatus
assembleStatus
(SVNWCContext context, java.io.File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, boolean ignoreTextMods, SVNLock repositoryLock) static SvnStatus
assembleUnversioned17
(java.io.File localAbspath, SVNNodeKind pathKind, boolean treeConflicted, boolean isIgnored) protected void
collectExternals
(java.io.File path) private java.util.Collection<java.lang.String>
collectIgnorePatterns
(SVNWCDbRoot root, java.io.File localRelPath, java.util.Collection<java.lang.String> ignores) protected ISvnObjectReceiver<SvnStatus>
getDepth()
protected void
getDirStatus
(java.io.File localAbsPath, java.lang.String selected, boolean skipThisDir, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo dirInfo, SVNFileType fileType, java.util.Collection<java.lang.String> ignorePatterns, SVNDepth depth, boolean getAll, boolean noIgnore, ISvnObjectReceiver<SvnStatus> handler) static java.util.Collection<java.lang.String>
getGlobalIgnores
(ISVNOptions options) private static ISVNWCDb.WCDbRepositoryInfo
getRepositoryRootUrlRelPath
(SVNWCContext context, ISVNWCDb.WCDbRepositoryInfo parentRelPath, ISVNWCDb.SVNWCDbInfo info, java.io.File localAbsPath) long
static SvnStatus
internalStatus
(SVNWCContext context, java.io.File localAbsPath) private boolean
isExternal
(java.io.File nodeAbsPath) protected boolean
protected boolean
private static ISVNWCDb.SVNWCDbInfo
readInfo
(SVNWCContext context, java.io.File localAbsPath) private void
sendStatusStructure
(java.io.File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, ISvnObjectReceiver<SvnStatus> handler) private void
sendUnversionedItem
(java.io.File nodeAbsPath, SVNNodeKind pathKind, boolean treeConflicted, java.util.Collection<java.lang.String> patterns, boolean noIgnore, int workingCopyFormat, ISvnObjectReceiver<SvnStatus> handler) void
setFileListHook
(ISvnFileListHook filesListHook) void
setRepositoryInfo
(SVNURL repositoryRoot, java.util.HashMap<java.lang.String, SVNLock> repositoryLocks) void
targetRevision
(long revision) private SvnStatus
tweakStatus
(SvnStatus status) void
walkStatus
(java.io.File localAbsPath, SVNDepth depth, boolean getAll, boolean noIgnore, boolean ignoreTextMods, java.util.Collection<java.lang.String> ignorePatterns) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myWCContext
-
myPath
protected java.io.File myPath -
myIsReportAll
protected boolean myIsReportAll -
myIsNoIgnore
protected boolean myIsNoIgnore -
myDepth
-
myStatusHandler
-
myExternalsMap
protected java.util.Map<java.io.File,java.io.File> myExternalsMap -
myGlobalIgnores
protected java.util.Collection<java.lang.String> myGlobalIgnores -
myRepositoryRoot
-
myRepositoryLocks
-
myTargetRevision
protected long myTargetRevision -
myWCRootPath
protected java.lang.String myWCRootPath -
myFileListHook
-
myDefaultFileListHook
-
myIsGetExcluded
protected boolean myIsGetExcluded -
myIgnoreTextMods
private boolean myIgnoreTextMods -
wcRoot
-
-
Constructor Details
-
SVNStatusEditor17
public SVNStatusEditor17(java.io.File path, SVNWCContext wcContext, ISVNOptions options, boolean noIgnore, boolean reportAll, SVNDepth depth, ISvnObjectReceiver<SvnStatus> handler)
-
-
Method Details
-
collectExternals
- Throws:
SVNException
-
closeEdit
- Throws:
SVNException
-
getTargetRevision
public long getTargetRevision() -
targetRevision
public void targetRevision(long revision) -
setFileListHook
-
getDepth
-
getDefaultHandler
-
isReportAll
protected boolean isReportAll() -
isNoIgnore
protected boolean isNoIgnore() -
getGlobalIgnores
-
sendStatusStructure
private void sendStatusStructure(java.io.File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, ISvnObjectReceiver<SvnStatus> handler) throws SVNException - Throws:
SVNException
-
tweakStatus
-
sendUnversionedItem
private void sendUnversionedItem(java.io.File nodeAbsPath, SVNNodeKind pathKind, boolean treeConflicted, java.util.Collection<java.lang.String> patterns, boolean noIgnore, int workingCopyFormat, ISvnObjectReceiver<SvnStatus> handler) throws SVNException - Throws:
SVNException
-
assembleUnversioned17
public static SvnStatus assembleUnversioned17(java.io.File localAbspath, SVNNodeKind pathKind, boolean treeConflicted, boolean isIgnored) throws SVNException - Throws:
SVNException
-
assembleStatus
public static SvnStatus assembleStatus(SVNWCContext context, java.io.File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, boolean ignoreTextMods, SVNLock repositoryLock) throws SVNException - Throws:
SVNException
-
isExternal
private boolean isExternal(java.io.File nodeAbsPath) -
collectIgnorePatterns
private java.util.Collection<java.lang.String> collectIgnorePatterns(SVNWCDbRoot root, java.io.File localRelPath, java.util.Collection<java.lang.String> ignores) throws SVNException - Throws:
SVNException
-
setRepositoryInfo
-
readInfo
private static ISVNWCDb.SVNWCDbInfo readInfo(SVNWCContext context, java.io.File localAbsPath) throws SVNException - Throws:
SVNException
-
walkStatus
public void walkStatus(java.io.File localAbsPath, SVNDepth depth, boolean getAll, boolean noIgnore, boolean ignoreTextMods, java.util.Collection<java.lang.String> ignorePatterns) throws SVNException - Throws:
SVNException
-
getDirStatus
protected void getDirStatus(java.io.File localAbsPath, java.lang.String selected, boolean skipThisDir, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo dirInfo, SVNFileType fileType, java.util.Collection<java.lang.String> ignorePatterns, SVNDepth depth, boolean getAll, boolean noIgnore, ISvnObjectReceiver<SvnStatus> handler) throws SVNException - Throws:
SVNException
-
getRepositoryRootUrlRelPath
private static ISVNWCDb.WCDbRepositoryInfo getRepositoryRootUrlRelPath(SVNWCContext context, ISVNWCDb.WCDbRepositoryInfo parentRelPath, ISVNWCDb.SVNWCDbInfo info, java.io.File localAbsPath) throws SVNException - Throws:
SVNException
-
internalStatus
public static SvnStatus internalStatus(SVNWCContext context, java.io.File localAbsPath) throws SVNException - Throws:
SVNException
-