Class SVNStatusEditor17
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.SVNStatusEditor17
- Direct Known Subclasses:
SVNRemoteStatusEditor17
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ISvnFileListHookprotected SVNDepthprotected ISvnFileListHookprotected Collection<String>private booleanprotected booleanprotected booleanprotected booleanprotected Fileprotected SVNURLprotected ISvnObjectReceiver<SvnStatus>protected longprotected SVNWCContextprotected Stringprivate SVNWCDbRoot -
Constructor Summary
ConstructorsConstructorDescriptionSVNStatusEditor17(File path, SVNWCContext wcContext, ISVNOptions options, boolean noIgnore, boolean reportAll, SVNDepth depth, ISvnObjectReceiver<SvnStatus> handler) -
Method Summary
Modifier and TypeMethodDescriptionstatic SvnStatusassembleStatus(SVNWCContext context, File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, boolean ignoreTextMods, SVNLock repositoryLock) static SvnStatusassembleUnversioned17(File localAbspath, SVNNodeKind pathKind, boolean treeConflicted, boolean isIgnored) protected voidcollectExternals(File path) private Collection<String>collectIgnorePatterns(SVNWCDbRoot root, File localRelPath, Collection<String> ignores) protected ISvnObjectReceiver<SvnStatus>getDepth()protected voidgetDirStatus(File localAbsPath, String selected, boolean skipThisDir, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo dirInfo, SVNFileType fileType, Collection<String> ignorePatterns, SVNDepth depth, boolean getAll, boolean noIgnore, ISvnObjectReceiver<SvnStatus> handler) static Collection<String>getGlobalIgnores(ISVNOptions options) private static ISVNWCDb.WCDbRepositoryInfogetRepositoryRootUrlRelPath(SVNWCContext context, ISVNWCDb.WCDbRepositoryInfo parentRelPath, ISVNWCDb.SVNWCDbInfo info, File localAbsPath) longstatic SvnStatusinternalStatus(SVNWCContext context, File localAbsPath) private booleanisExternal(File nodeAbsPath) protected booleanprotected booleanprivate static ISVNWCDb.SVNWCDbInforeadInfo(SVNWCContext context, File localAbsPath) private voidsendStatusStructure(File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, ISvnObjectReceiver<SvnStatus> handler) private voidsendUnversionedItem(File nodeAbsPath, SVNNodeKind pathKind, boolean treeConflicted, Collection<String> patterns, boolean noIgnore, int workingCopyFormat, ISvnObjectReceiver<SvnStatus> handler) voidsetFileListHook(ISvnFileListHook filesListHook) voidsetRepositoryInfo(SVNURL repositoryRoot, HashMap<String, SVNLock> repositoryLocks) voidtargetRevision(long revision) private SvnStatustweakStatus(SvnStatus status) voidwalkStatus(File localAbsPath, SVNDepth depth, boolean getAll, boolean noIgnore, boolean ignoreTextMods, Collection<String> ignorePatterns)
-
Field Details
-
myWCContext
-
myPath
-
myIsReportAll
protected boolean myIsReportAll -
myIsNoIgnore
protected boolean myIsNoIgnore -
myDepth
-
myStatusHandler
-
myExternalsMap
-
myGlobalIgnores
-
myRepositoryRoot
-
myRepositoryLocks
-
myTargetRevision
protected long myTargetRevision -
myWCRootPath
-
myFileListHook
-
myDefaultFileListHook
-
myIsGetExcluded
protected boolean myIsGetExcluded -
myIgnoreTextMods
private boolean myIgnoreTextMods -
wcRoot
-
-
Constructor Details
-
SVNStatusEditor17
public SVNStatusEditor17(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(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(File nodeAbsPath, SVNNodeKind pathKind, boolean treeConflicted, Collection<String> patterns, boolean noIgnore, int workingCopyFormat, ISvnObjectReceiver<SvnStatus> handler) throws SVNException - Throws:
SVNException
-
assembleUnversioned17
public static SvnStatus assembleUnversioned17(File localAbspath, SVNNodeKind pathKind, boolean treeConflicted, boolean isIgnored) throws SVNException - Throws:
SVNException
-
assembleStatus
public static SvnStatus assembleStatus(SVNWCContext context, File localAbsPath, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo info, SVNNodeKind pathKind, boolean pathSpecial, boolean getAll, boolean ignoreTextMods, SVNLock repositoryLock) throws SVNException - Throws:
SVNException
-
isExternal
-
collectIgnorePatterns
private Collection<String> collectIgnorePatterns(SVNWCDbRoot root, File localRelPath, Collection<String> ignores) throws SVNException - Throws:
SVNException
-
setRepositoryInfo
-
readInfo
private static ISVNWCDb.SVNWCDbInfo readInfo(SVNWCContext context, File localAbsPath) throws SVNException - Throws:
SVNException
-
walkStatus
public void walkStatus(File localAbsPath, SVNDepth depth, boolean getAll, boolean noIgnore, boolean ignoreTextMods, Collection<String> ignorePatterns) throws SVNException - Throws:
SVNException
-
getDirStatus
protected void getDirStatus(File localAbsPath, String selected, boolean skipThisDir, ISVNWCDb.WCDbRepositoryInfo parentReposInfo, ISVNWCDb.SVNWCDbInfo dirInfo, SVNFileType fileType, Collection<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, File localAbsPath) throws SVNException - Throws:
SVNException
-
internalStatus
- Throws:
SVNException
-