Class SVNStatusEditor
java.lang.Object
org.tmatesoft.svn.core.internal.wc.SVNStatusEditor
- Direct Known Subclasses:
SVNRemoteStatusEditor
- Version:
- 1.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNAdminAreaInfoprivate ISVNStatusFileProviderprivate SVNDepthprivate Mapprivate ISVNStatusFileProviderprivate Collectionprivate booleanprivate booleanprivate Mapprotected SVNURLprivate ISVNStatusHandlerprivate longprivate SVNWCAccessprivate String -
Constructor Summary
ConstructorsConstructorDescriptionSVNStatusEditor(ISVNOptions options, SVNWCAccess wcAccess, SVNAdminAreaInfo info, boolean noIgnore, boolean reportAll, SVNDepth depth, ISVNStatusHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionprotected SVNStatusassembleStatus(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, String entryName, SVNDepth depth, boolean getAll, boolean noIgnore, Collection ignorePatterns, boolean skipThisDir, ISVNStatusHandler handler) static CollectiongetGlobalIgnores(ISVNOptions options) static CollectiongetIgnorePatterns(SVNAdminArea dir, Collection globalIgnores) protected SVNLocklongprotected SVNWCAccessprotected Stringprotected StringgetWCRootRelativePath(Collection ignorePatterns, File file) private voidhandleDirEntry(SVNAdminArea dir, String entryName, SVNEntry dirEntry, SVNEntry entry, SVNNodeKind fileKind, boolean special, SVNDepth depth, boolean getAll, boolean noIgnore, ISVNStatusHandler handler) protected booleanprivate booleanisExternal(String path) static booleanisIgnored(Collection patterns, File file) static booleanisIgnored(Collection patterns, File file, String relativePath) static booleanisNameConflict(SVNEntry entry) protected booleanprotected booleanprivate voidsendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) voidsetFileProvider(ISVNStatusFileProvider fileProvider) voidsetRepositoryInfo(SVNURL root, Map repositoryLocks) voidtargetRevision(long revision)
-
Field Details
-
myWCAccess
-
myAdminInfo
-
myIsReportAll
private boolean myIsReportAll -
myIsNoIgnore
private boolean myIsNoIgnore -
myDepth
-
myStatusHandler
-
myExternalsMap
-
myGlobalIgnores
-
myRepositoryRoot
-
myRepositoryLocks
-
myTargetRevision
private long myTargetRevision -
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, String entryName, SVNDepth depth, boolean getAll, boolean noIgnore, 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, 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(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException - Throws:
SVNException
-
assembleStatus
protected SVNStatus assembleStatus(File file, SVNAdminArea dir, SVNEntry entry, SVNEntry parentEntry, SVNNodeKind fileKind, boolean special, boolean reportAll, boolean isIgnored) throws SVNException - Throws:
SVNException
-
getWCRootPath
-
getWCRootRelativePath
-
isExternal
-
getIgnorePatterns
public static Collection getIgnorePatterns(SVNAdminArea dir, Collection globalIgnores) throws SVNException - Throws:
SVNException
-
getGlobalIgnores
-
isIgnored
-
isIgnored
-
setFileProvider
-