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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNAdminAreaInfo
private ISVNStatusFileProvider
private SVNDepth
private java.util.Map
private ISVNStatusFileProvider
private java.util.Collection
private boolean
private boolean
private java.util.Map
protected SVNURL
private ISVNStatusHandler
private long
private SVNWCAccess
private java.lang.String
-
Constructor Summary
ConstructorsConstructorDescriptionSVNStatusEditor
(ISVNOptions options, SVNWCAccess wcAccess, SVNAdminAreaInfo info, boolean noIgnore, boolean reportAll, SVNDepth depth, ISVNStatusHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionprotected SVNStatus
assembleStatus
(java.io.File file, SVNAdminArea dir, SVNEntry entry, SVNEntry parentEntry, SVNNodeKind fileKind, boolean special, boolean reportAll, boolean isIgnored) protected void
cleanup()
protected SVNAdminAreaInfo
protected SVNAdminArea
protected ISVNStatusHandler
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
long
protected SVNWCAccess
protected java.lang.String
protected java.lang.String
getWCRootRelativePath
(java.util.Collection ignorePatterns, java.io.File file) private void
handleDirEntry
(SVNAdminArea dir, java.lang.String entryName, SVNEntry dirEntry, SVNEntry entry, SVNNodeKind fileKind, boolean special, SVNDepth depth, boolean getAll, boolean noIgnore, ISVNStatusHandler handler) protected boolean
private boolean
isExternal
(java.lang.String path) 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
protected boolean
private void
sendUnversionedStatus
(java.io.File file, java.lang.String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, java.util.Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) void
setFileProvider
(ISVNStatusFileProvider fileProvider) void
setRepositoryInfo
(SVNURL root, java.util.Map repositoryLocks) void
targetRevision
(long revision) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myWCAccess
-
myAdminInfo
-
myIsReportAll
private boolean myIsReportAll -
myIsNoIgnore
private boolean myIsNoIgnore -
myDepth
-
myStatusHandler
-
myExternalsMap
private java.util.Map myExternalsMap -
myGlobalIgnores
private java.util.Collection myGlobalIgnores -
myRepositoryRoot
-
myRepositoryLocks
private java.util.Map myRepositoryLocks -
myTargetRevision
private long myTargetRevision -
myWCRootPath
private java.lang.String myWCRootPath -
myFileProvider
-
myDefaultFileProvider
-
-
Constructor Details
-
SVNStatusEditor
public SVNStatusEditor(ISVNOptions options, SVNWCAccess wcAccess, SVNAdminAreaInfo info, boolean noIgnore, boolean reportAll, SVNDepth depth, ISVNStatusHandler handler)
-
-
Method Details
-
getTargetRevision
public long getTargetRevision() -
targetRevision
public void targetRevision(long revision) -
closeEdit
- Throws:
SVNException
-
setRepositoryInfo
-
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
-
cleanup
protected void cleanup() -
getAnchor
-
getWCAccess
-
getDepth
-
isReportAll
protected boolean isReportAll() -
isNoIgnore
protected boolean isNoIgnore() -
getAdminAreaInfo
-
getDefaultHandler
-
hasTarget
protected boolean hasTarget() -
getLock
-
handleDirEntry
private void handleDirEntry(SVNAdminArea dir, java.lang.String entryName, SVNEntry dirEntry, SVNEntry entry, SVNNodeKind fileKind, boolean special, SVNDepth depth, boolean getAll, boolean noIgnore, ISVNStatusHandler handler) throws SVNException - Throws:
SVNException
-
sendUnversionedStatus
private void sendUnversionedStatus(java.io.File file, java.lang.String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, java.util.Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException - Throws:
SVNException
-
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) -
isExternal
private boolean isExternal(java.lang.String path) -
getIgnorePatterns
public static java.util.Collection getIgnorePatterns(SVNAdminArea dir, java.util.Collection globalIgnores) throws SVNException - Throws:
SVNException
-
getGlobalIgnores
-
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
-