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 ISvnFileListHookprotected SVNDepthprotected java.util.Map<java.io.File,java.io.File> protected ISvnFileListHookprotected java.util.Collection<java.lang.String>private booleanprotected booleanprotected booleanprotected booleanprotected java.io.Fileprotected java.util.Map<java.lang.String,SVNLock> protected SVNURLprotected ISvnObjectReceiver<SvnStatus>protected longprotected SVNWCContextprotected java.lang.Stringprivate 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 SvnStatusassembleStatus(SVNWCContext context, java.io.File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, boolean ignoreTextMods, SVNLock repositoryLock) static SvnStatusassembleUnversioned17(java.io.File localAbspath, SVNNodeKind pathKind, boolean treeConflicted, boolean isIgnored) protected voidcollectExternals(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 voidgetDirStatus(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.WCDbRepositoryInfogetRepositoryRootUrlRelPath(SVNWCContext context, ISVNWCDb.WCDbRepositoryInfo parentRelPath, ISVNWCDb.SVNWCDbInfo info, java.io.File localAbsPath) longstatic SvnStatusinternalStatus(SVNWCContext context, java.io.File localAbsPath) private booleanisExternal(java.io.File nodeAbsPath) protected booleanprotected booleanprivate static ISVNWCDb.SVNWCDbInforeadInfo(SVNWCContext context, java.io.File localAbsPath) private voidsendStatusStructure(java.io.File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, ISvnObjectReceiver<SvnStatus> handler) private voidsendUnversionedItem(java.io.File nodeAbsPath, SVNNodeKind pathKind, boolean treeConflicted, java.util.Collection<java.lang.String> patterns, boolean noIgnore, int workingCopyFormat, ISvnObjectReceiver<SvnStatus> handler) voidsetFileListHook(ISvnFileListHook filesListHook) voidsetRepositoryInfo(SVNURL repositoryRoot, java.util.HashMap<java.lang.String, SVNLock> repositoryLocks) voidtargetRevision(long revision) private SvnStatustweakStatus(SvnStatus status) voidwalkStatus(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
-