public class SVNStatusEditor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
SVNStatusEditor.DefaultSVNStatusFileProvider |
private static class |
SVNStatusEditor.WrapperSVNStatusFileProvider |
Modifier and Type | Field and Description |
---|---|
private SVNAdminAreaInfo |
myAdminInfo |
private ISVNStatusFileProvider |
myDefaultFileProvider |
private SVNDepth |
myDepth |
private java.util.Map |
myExternalsMap |
private ISVNStatusFileProvider |
myFileProvider |
private java.util.Collection |
myGlobalIgnores |
private boolean |
myIsNoIgnore |
private boolean |
myIsReportAll |
private java.util.Map |
myRepositoryLocks |
protected SVNURL |
myRepositoryRoot |
private ISVNStatusHandler |
myStatusHandler |
private long |
myTargetRevision |
private SVNWCAccess |
myWCAccess |
private java.lang.String |
myWCRootPath |
Constructor and Description |
---|
SVNStatusEditor(ISVNOptions options,
SVNWCAccess wcAccess,
SVNAdminAreaInfo info,
boolean noIgnore,
boolean reportAll,
SVNDepth depth,
ISVNStatusHandler handler) |
Modifier and Type | Method and 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) |
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 |
hasTarget() |
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 |
isNoIgnore() |
protected boolean |
isReportAll() |
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) |
private SVNWCAccess myWCAccess
private SVNAdminAreaInfo myAdminInfo
private boolean myIsReportAll
private boolean myIsNoIgnore
private SVNDepth myDepth
private ISVNStatusHandler myStatusHandler
private java.util.Map myExternalsMap
private java.util.Collection myGlobalIgnores
protected SVNURL myRepositoryRoot
private java.util.Map myRepositoryLocks
private long myTargetRevision
private java.lang.String myWCRootPath
private ISVNStatusFileProvider myFileProvider
private ISVNStatusFileProvider myDefaultFileProvider
public SVNStatusEditor(ISVNOptions options, SVNWCAccess wcAccess, SVNAdminAreaInfo info, boolean noIgnore, boolean reportAll, SVNDepth depth, ISVNStatusHandler handler)
public long getTargetRevision()
public void targetRevision(long revision)
public SVNCommitInfo closeEdit() throws SVNException
SVNException
public void setRepositoryInfo(SVNURL root, java.util.Map repositoryLocks)
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
SVNException
public static boolean isNameConflict(SVNEntry entry)
protected void cleanup()
protected SVNAdminArea getAnchor()
protected SVNWCAccess getWCAccess()
protected SVNDepth getDepth()
protected boolean isReportAll()
protected boolean isNoIgnore()
protected SVNAdminAreaInfo getAdminAreaInfo()
protected ISVNStatusHandler getDefaultHandler()
protected boolean hasTarget()
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
SVNException
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
SVNException
protected SVNStatus assembleStatus(java.io.File file, SVNAdminArea dir, SVNEntry entry, SVNEntry parentEntry, SVNNodeKind fileKind, boolean special, boolean reportAll, boolean isIgnored) throws SVNException
SVNException
protected java.lang.String getWCRootPath()
protected java.lang.String getWCRootRelativePath(java.util.Collection ignorePatterns, java.io.File file)
private boolean isExternal(java.lang.String path)
public static java.util.Collection getIgnorePatterns(SVNAdminArea dir, java.util.Collection globalIgnores) throws SVNException
SVNException
public static java.util.Collection getGlobalIgnores(ISVNOptions options)
public static boolean isIgnored(java.util.Collection patterns, java.io.File file)
public static boolean isIgnored(java.util.Collection patterns, java.io.File file, java.lang.String relativePath)
public void setFileProvider(ISVNStatusFileProvider fileProvider)