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 classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNAdminAreaInfoprivate ISVNStatusFileProviderprivate SVNDepthprivate java.util.Mapprivate ISVNStatusFileProviderprivate java.util.Collectionprivate booleanprivate booleanprivate java.util.Mapprotected SVNURLprivate ISVNStatusHandlerprivate longprivate SVNWCAccessprivate 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 SVNStatusassembleStatus(java.io.File file, SVNAdminArea dir, SVNEntry entry, SVNEntry parentEntry, SVNNodeKind fileKind, boolean special, boolean reportAll, boolean isIgnored) protected voidcleanup()protected SVNAdminAreaInfoprotected SVNAdminAreaprotected ISVNStatusHandlerprotected 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 SVNLocklongprotected SVNWCAccessprotected java.lang.Stringprotected java.lang.StringgetWCRootRelativePath(java.util.Collection ignorePatterns, java.io.File file) private voidhandleDirEntry(SVNAdminArea dir, java.lang.String entryName, SVNEntry dirEntry, SVNEntry entry, SVNNodeKind fileKind, boolean special, SVNDepth depth, boolean getAll, boolean noIgnore, ISVNStatusHandler handler) protected booleanprivate booleanisExternal(java.lang.String path) 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 booleanprotected booleanprivate voidsendUnversionedStatus(java.io.File file, java.lang.String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, java.util.Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) voidsetFileProvider(ISVNStatusFileProvider fileProvider) voidsetRepositoryInfo(SVNURL root, java.util.Map repositoryLocks) voidtargetRevision(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
-