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 Modifier and Type Class Description private static class
SVNStatusEditor17.DefaultSvnFileListHook
-
Field Summary
Fields Modifier and Type Field Description protected ISvnFileListHook
myDefaultFileListHook
protected SVNDepth
myDepth
protected java.util.Map<java.io.File,java.io.File>
myExternalsMap
protected ISvnFileListHook
myFileListHook
protected java.util.Collection<java.lang.String>
myGlobalIgnores
private boolean
myIgnoreTextMods
protected boolean
myIsGetExcluded
protected boolean
myIsNoIgnore
protected boolean
myIsReportAll
protected java.io.File
myPath
protected java.util.Map<java.lang.String,SVNLock>
myRepositoryLocks
protected SVNURL
myRepositoryRoot
protected ISvnObjectReceiver<SvnStatus>
myStatusHandler
protected long
myTargetRevision
protected SVNWCContext
myWCContext
protected java.lang.String
myWCRootPath
private SVNWCDbRoot
wcRoot
-
Constructor Summary
Constructors Constructor Description SVNStatusEditor17(java.io.File path, SVNWCContext wcContext, ISVNOptions options, boolean noIgnore, boolean reportAll, SVNDepth depth, ISvnObjectReceiver<SvnStatus> handler)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
static SvnStatus
assembleUnversioned17(java.io.File localAbspath, SVNNodeKind pathKind, boolean treeConflicted, boolean isIgnored)
SVNCommitInfo
closeEdit()
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>
getDefaultHandler()
SVNDepth
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
getTargetRevision()
static SvnStatus
internalStatus(SVNWCContext context, java.io.File localAbsPath)
private boolean
isExternal(java.io.File nodeAbsPath)
protected boolean
isNoIgnore()
protected boolean
isReportAll()
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)
-
-
-
Field Detail
-
myWCContext
protected SVNWCContext myWCContext
-
myPath
protected java.io.File myPath
-
myIsReportAll
protected boolean myIsReportAll
-
myIsNoIgnore
protected boolean myIsNoIgnore
-
myDepth
protected SVNDepth myDepth
-
myStatusHandler
protected ISvnObjectReceiver<SvnStatus> myStatusHandler
-
myExternalsMap
protected java.util.Map<java.io.File,java.io.File> myExternalsMap
-
myGlobalIgnores
protected java.util.Collection<java.lang.String> myGlobalIgnores
-
myRepositoryRoot
protected SVNURL myRepositoryRoot
-
myRepositoryLocks
protected java.util.Map<java.lang.String,SVNLock> myRepositoryLocks
-
myTargetRevision
protected long myTargetRevision
-
myWCRootPath
protected java.lang.String myWCRootPath
-
myFileListHook
protected ISvnFileListHook myFileListHook
-
myDefaultFileListHook
protected ISvnFileListHook myDefaultFileListHook
-
myIsGetExcluded
protected boolean myIsGetExcluded
-
myIgnoreTextMods
private boolean myIgnoreTextMods
-
wcRoot
private SVNWCDbRoot wcRoot
-
-
Constructor Detail
-
SVNStatusEditor17
public SVNStatusEditor17(java.io.File path, SVNWCContext wcContext, ISVNOptions options, boolean noIgnore, boolean reportAll, SVNDepth depth, ISvnObjectReceiver<SvnStatus> handler)
-
-
Method Detail
-
collectExternals
protected void collectExternals(java.io.File path) throws SVNException
- Throws:
SVNException
-
closeEdit
public SVNCommitInfo closeEdit() throws SVNException
- Throws:
SVNException
-
getTargetRevision
public long getTargetRevision()
-
targetRevision
public void targetRevision(long revision)
-
setFileListHook
public void setFileListHook(ISvnFileListHook filesListHook)
-
getDepth
public SVNDepth getDepth()
-
getDefaultHandler
protected ISvnObjectReceiver<SvnStatus> getDefaultHandler()
-
isReportAll
protected boolean isReportAll()
-
isNoIgnore
protected boolean isNoIgnore()
-
getGlobalIgnores
public static java.util.Collection<java.lang.String> getGlobalIgnores(ISVNOptions options)
-
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
-
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
public void setRepositoryInfo(SVNURL repositoryRoot, java.util.HashMap<java.lang.String,SVNLock> repositoryLocks)
-
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
-
-