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 SVNURL
myRepositoryRoot
-
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 SVNStatus
assembleStatus(java.io.File file, SVNAdminArea dir, SVNEntry entry, SVNEntry parentEntry, SVNNodeKind fileKind, boolean special, boolean reportAll, boolean isIgnored)
protected void
cleanup()
SVNCommitInfo
closeEdit()
protected SVNAdminAreaInfo
getAdminAreaInfo()
protected SVNAdminArea
getAnchor()
protected ISVNStatusHandler
getDefaultHandler()
protected SVNDepth
getDepth()
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)
static java.util.Collection
getGlobalIgnores(ISVNOptions options)
static java.util.Collection
getIgnorePatterns(SVNAdminArea dir, java.util.Collection globalIgnores)
protected SVNLock
getLock(SVNURL url)
long
getTargetRevision()
protected SVNWCAccess
getWCAccess()
protected java.lang.String
getWCRootPath()
protected java.lang.String
getWCRootRelativePath(java.util.Collection ignorePatterns, java.io.File file)
protected boolean
hasTarget()
static boolean
isIgnored(java.util.Collection patterns, java.io.File file)
static boolean
isIgnored(java.util.Collection patterns, java.io.File file, java.lang.String relativePath)
static boolean
isNameConflict(SVNEntry entry)
protected boolean
isNoIgnore()
protected boolean
isReportAll()
void
setFileProvider(ISVNStatusFileProvider fileProvider)
void
setRepositoryInfo(SVNURL root, java.util.Map repositoryLocks)
void
targetRevision(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)
-
-