Class SVNStatusEditor
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.SVNStatusEditor
-
- Direct Known Subclasses:
SVNRemoteStatusEditor
public class SVNStatusEditor extends java.lang.Object- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description protected SVNURLmyRepositoryRoot
-
Constructor Summary
Constructors Constructor Description SVNStatusEditor(ISVNOptions options, SVNWCAccess wcAccess, SVNAdminAreaInfo info, boolean noIgnore, boolean reportAll, SVNDepth depth, ISVNStatusHandler handler)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SVNStatusassembleStatus(java.io.File file, SVNAdminArea dir, SVNEntry entry, SVNEntry parentEntry, SVNNodeKind fileKind, boolean special, boolean reportAll, boolean isIgnored)protected voidcleanup()SVNCommitInfocloseEdit()protected SVNAdminAreaInfogetAdminAreaInfo()protected SVNAdminAreagetAnchor()protected ISVNStatusHandlergetDefaultHandler()protected SVNDepthgetDepth()protected voidgetDirStatus(SVNEntry parentEntry, SVNAdminArea dir, java.lang.String entryName, SVNDepth depth, boolean getAll, boolean noIgnore, java.util.Collection ignorePatterns, boolean skipThisDir, ISVNStatusHandler handler)static java.util.CollectiongetGlobalIgnores(ISVNOptions options)static java.util.CollectiongetIgnorePatterns(SVNAdminArea dir, java.util.Collection globalIgnores)protected SVNLockgetLock(SVNURL url)longgetTargetRevision()protected SVNWCAccessgetWCAccess()protected java.lang.StringgetWCRootPath()protected java.lang.StringgetWCRootRelativePath(java.util.Collection ignorePatterns, java.io.File file)protected booleanhasTarget()static booleanisIgnored(java.util.Collection patterns, java.io.File file)static booleanisIgnored(java.util.Collection patterns, java.io.File file, java.lang.String relativePath)static booleanisNameConflict(SVNEntry entry)protected booleanisNoIgnore()protected booleanisReportAll()voidsetFileProvider(ISVNStatusFileProvider fileProvider)voidsetRepositoryInfo(SVNURL root, java.util.Map repositoryLocks)voidtargetRevision(long revision)
-
-
-
Field Detail
-
myRepositoryRoot
protected SVNURL myRepositoryRoot
-
-
Constructor Detail
-
SVNStatusEditor
public SVNStatusEditor(ISVNOptions options, SVNWCAccess wcAccess, SVNAdminAreaInfo info, boolean noIgnore, boolean reportAll, SVNDepth depth, ISVNStatusHandler handler)
-
-
Method Detail
-
getTargetRevision
public long getTargetRevision()
-
targetRevision
public void targetRevision(long revision)
-
closeEdit
public SVNCommitInfo closeEdit() throws SVNException
- Throws:
SVNException
-
setRepositoryInfo
public void setRepositoryInfo(SVNURL root, java.util.Map repositoryLocks)
-
getDirStatus
protected void getDirStatus(SVNEntry parentEntry, SVNAdminArea dir, java.lang.String entryName, SVNDepth depth, boolean getAll, boolean noIgnore, java.util.Collection ignorePatterns, boolean skipThisDir, ISVNStatusHandler handler) throws SVNException
- Throws:
SVNException
-
isNameConflict
public static boolean isNameConflict(SVNEntry entry)
-
cleanup
protected void cleanup()
-
getAnchor
protected SVNAdminArea getAnchor()
-
getWCAccess
protected SVNWCAccess getWCAccess()
-
getDepth
protected SVNDepth getDepth()
-
isReportAll
protected boolean isReportAll()
-
isNoIgnore
protected boolean isNoIgnore()
-
getAdminAreaInfo
protected SVNAdminAreaInfo getAdminAreaInfo()
-
getDefaultHandler
protected ISVNStatusHandler getDefaultHandler()
-
hasTarget
protected boolean hasTarget()
-
assembleStatus
protected SVNStatus assembleStatus(java.io.File file, SVNAdminArea dir, SVNEntry entry, SVNEntry parentEntry, SVNNodeKind fileKind, boolean special, boolean reportAll, boolean isIgnored) throws SVNException
- Throws:
SVNException
-
getWCRootPath
protected java.lang.String getWCRootPath()
-
getWCRootRelativePath
protected java.lang.String getWCRootRelativePath(java.util.Collection ignorePatterns, java.io.File file)
-
getIgnorePatterns
public static java.util.Collection getIgnorePatterns(SVNAdminArea dir, java.util.Collection globalIgnores) throws SVNException
- Throws:
SVNException
-
getGlobalIgnores
public static java.util.Collection getGlobalIgnores(ISVNOptions options)
-
isIgnored
public static boolean isIgnored(java.util.Collection patterns, java.io.File file)
-
isIgnored
public static boolean isIgnored(java.util.Collection patterns, java.io.File file, java.lang.String relativePath)
-
setFileProvider
public void setFileProvider(ISVNStatusFileProvider fileProvider)
-
-