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 classSVNStatusEditor17.DefaultSvnFileListHook
-
Field Summary
Fields Modifier and Type Field Description protected ISvnFileListHookmyDefaultFileListHookprotected SVNDepthmyDepthprotected java.util.Map<java.io.File,java.io.File>myExternalsMapprotected ISvnFileListHookmyFileListHookprotected java.util.Collection<java.lang.String>myGlobalIgnoresprivate booleanmyIgnoreTextModsprotected booleanmyIsGetExcludedprotected booleanmyIsNoIgnoreprotected booleanmyIsReportAllprotected java.io.FilemyPathprotected java.util.Map<java.lang.String,SVNLock>myRepositoryLocksprotected SVNURLmyRepositoryRootprotected ISvnObjectReceiver<SvnStatus>myStatusHandlerprotected longmyTargetRevisionprotected SVNWCContextmyWCContextprotected java.lang.StringmyWCRootPathprivate SVNWCDbRootwcRoot
-
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 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)SVNCommitInfocloseEdit()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>getDefaultHandler()SVNDepthgetDepth()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)longgetTargetRevision()static SvnStatusinternalStatus(SVNWCContext context, java.io.File localAbsPath)private booleanisExternal(java.io.File nodeAbsPath)protected booleanisNoIgnore()protected booleanisReportAll()private 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)
-
-
-
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
-
-