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 Classes Modifier and Type Class Description private static classSVNStatusEditor.DefaultSVNStatusFileProviderprivate static classSVNStatusEditor.WrapperSVNStatusFileProvider
-
Field Summary
Fields Modifier and Type Field Description private SVNAdminAreaInfomyAdminInfoprivate ISVNStatusFileProvidermyDefaultFileProviderprivate SVNDepthmyDepthprivate java.util.MapmyExternalsMapprivate ISVNStatusFileProvidermyFileProviderprivate java.util.CollectionmyGlobalIgnoresprivate booleanmyIsNoIgnoreprivate booleanmyIsReportAllprivate java.util.MapmyRepositoryLocksprotected SVNURLmyRepositoryRootprivate ISVNStatusHandlermyStatusHandlerprivate longmyTargetRevisionprivate SVNWCAccessmyWCAccessprivate java.lang.StringmyWCRootPath
-
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)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 booleanhasTarget()private 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 booleanisNoIgnore()protected booleanisReportAll()private 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)
-
-
-
Field Detail
-
myWCAccess
private SVNWCAccess myWCAccess
-
myAdminInfo
private SVNAdminAreaInfo myAdminInfo
-
myIsReportAll
private boolean myIsReportAll
-
myIsNoIgnore
private boolean myIsNoIgnore
-
myDepth
private SVNDepth myDepth
-
myStatusHandler
private ISVNStatusHandler myStatusHandler
-
myExternalsMap
private java.util.Map myExternalsMap
-
myGlobalIgnores
private java.util.Collection myGlobalIgnores
-
myRepositoryRoot
protected SVNURL myRepositoryRoot
-
myRepositoryLocks
private java.util.Map myRepositoryLocks
-
myTargetRevision
private long myTargetRevision
-
myWCRootPath
private java.lang.String myWCRootPath
-
myFileProvider
private ISVNStatusFileProvider myFileProvider
-
myDefaultFileProvider
private ISVNStatusFileProvider myDefaultFileProvider
-
-
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()
-
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
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)
-
-