public class SVNXMLAdminArea extends SVNAdminArea
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Set |
BOOLEAN_PROPERTIES |
private static java.util.Set |
INAPPLICABLE_PROPERTIES |
private java.io.File |
myEntriesFile |
private java.io.File |
myLockFile |
private static java.lang.String |
THIS_DIR |
static int |
WC_FORMAT |
ADM_KILLME, myBaseProperties, myEntries, myProperties, myWasLocked, myWCProperties| Constructor and Description |
|---|
SVNXMLAdminArea(java.io.File dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeConflict(SVNTreeConflictDescription conflict) |
SVNAdminArea |
createVersionedDirectory(java.io.File dir,
java.lang.String url,
java.lang.String rootURL,
java.lang.String uuid,
long revNumber,
boolean createMyself,
SVNDepth depth) |
SVNTreeConflictDescription |
deleteTreeConflict(java.lang.String name) |
protected java.util.Map |
fetchEntries() |
protected SVNVersionedProperties |
formatBaseProperties(SVNProperties srcProperties) |
protected SVNVersionedProperties |
formatProperties(SVNEntry entry,
SVNProperties srcProperties) |
SVNVersionedProperties |
getBaseProperties(java.lang.String name) |
int |
getFormatVersion() |
SVNVersionedProperties |
getProperties(java.lang.String name) |
SVNVersionedProperties |
getRevertProperties(java.lang.String name) |
java.lang.String |
getThisDirName() |
SVNTreeConflictDescription |
getTreeConflict(java.lang.String name) |
SVNVersionedProperties |
getWCProperties(java.lang.String name) |
void |
handleKillMe() |
boolean |
hasProperties(java.lang.String entryName) |
boolean |
hasPropModifications(java.lang.String name) |
boolean |
hasTextModifications(java.lang.String name,
boolean forceComparison) |
boolean |
hasTreeConflict(java.lang.String name) |
(package private) boolean |
innerLock() |
void |
installProperties(java.lang.String name,
SVNProperties baseProps,
SVNProperties workingProps,
SVNLog log,
boolean writeBaseProps,
boolean close) |
protected boolean |
isEntryPropertyApplicable(java.lang.String propName) |
boolean |
isLocked() |
boolean |
isVersioned() |
boolean |
lock(boolean stealLock) |
void |
postCommit(java.lang.String fileName,
long revisionNumber,
boolean implicit,
boolean rerun,
SVNErrorCode errorCode) |
private SVNProperties |
readBaseProperties(java.lang.String name) |
protected boolean |
readExtraOptions(java.io.BufferedReader reader,
SVNEntry entryAttrs) |
private SVNProperties |
readProperties(java.lang.String name) |
private SVNProperties |
readRevertProperties(java.lang.String name) |
private SVNProperties |
readWCProperties(java.lang.String name) |
private void |
saveBaseProperties(SVNLog log) |
void |
saveEntries(boolean close) |
private void |
saveProperties(SVNLog log) |
void |
saveVersionedProperties(SVNLog log,
boolean close) |
void |
saveWCProperties(boolean close) |
void |
setFileExternalLocation(java.lang.String name,
SVNURL url,
SVNRevision pegRevision,
SVNRevision revision,
SVNURL reposRootURL) |
boolean |
unlock() |
protected void |
writeEntries(java.io.Writer writer) |
protected int |
writeExtraOptions(java.io.Writer writer,
java.lang.String entryName,
SVNEntry Attrs,
int emptyFields) |
addEntry, asString, cleanup, close, closeEntries, closeVersionedProperties, closeWCProperties, commit, createEntryHashMap, createFormatFile, deleteEntry, entries, extendLockToTree, foldScheduling, formatWC, fromString, getAdminDirectory, getAdminFile, getAdminTempDirectory, getBaseFile, getBaseFileForReading, getBaseFileForWriting, getBasePropertiesFile, getBasePropertiesStorage, getEntries, getEntry, getFile, getLog, getObjectsPool, getPropertiesFile, getPropertiesStorage, getPropertyTime, getRelativePath, getRevertPropertiesFile, getRevertPropertiesStorage, getRoot, getVersionedEntry, getWCAccess, getWCPropertiesStorage, getWorkingCopyFormatVersion, hasPropConflict, hasTextConflict, hasTextModifications, hasVersionedFileTextChanges, isKillMe, isSafeCleanup, loadEntries, markResolved, mergeProperties, mergeProperties, mergeText, modifyEntry, postUpgradeFormat, removeFromRevisionControl, restoreFile, runLogs, runLogs, setCommitParameters, setLocked, setSafeCleanup, setWCAccess, setWorkingCopyFormatVersion, tweakEntry, updateURL, walkThisDirectorypublic static final int WC_FORMAT
private static final java.lang.String THIS_DIR
private static final java.util.Set BOOLEAN_PROPERTIES
private static final java.util.Set INAPPLICABLE_PROPERTIES
private java.io.File myLockFile
private java.io.File myEntriesFile
private void saveProperties(SVNLog log) throws SVNException
SVNExceptionprivate void saveBaseProperties(SVNLog log) throws SVNException
SVNExceptionpublic void saveWCProperties(boolean close)
throws SVNException
saveWCProperties in class SVNAdminAreaSVNExceptionpublic SVNVersionedProperties getBaseProperties(java.lang.String name) throws SVNException
getBaseProperties in class SVNAdminAreaSVNExceptionpublic SVNVersionedProperties getRevertProperties(java.lang.String name) throws SVNException
getRevertProperties in class SVNAdminAreaSVNExceptionpublic SVNVersionedProperties getProperties(java.lang.String name) throws SVNException
getProperties in class SVNAdminAreaSVNExceptionpublic SVNVersionedProperties getWCProperties(java.lang.String name) throws SVNException
getWCProperties in class SVNAdminAreaSVNExceptionprivate SVNProperties readProperties(java.lang.String name) throws SVNException
SVNExceptionprivate SVNProperties readBaseProperties(java.lang.String name) throws SVNException
SVNExceptionprivate SVNProperties readRevertProperties(java.lang.String name) throws SVNException
SVNExceptionprivate SVNProperties readWCProperties(java.lang.String name) throws SVNException
SVNExceptionpublic void saveEntries(boolean close)
throws SVNException
saveEntries in class SVNAdminAreaSVNExceptionpublic void saveVersionedProperties(SVNLog log, boolean close) throws SVNException
saveVersionedProperties in class SVNAdminAreaSVNExceptionpublic void installProperties(java.lang.String name,
SVNProperties baseProps,
SVNProperties workingProps,
SVNLog log,
boolean writeBaseProps,
boolean close)
throws SVNException
installProperties in class SVNAdminAreaSVNExceptionprotected java.util.Map fetchEntries()
throws SVNException
fetchEntries in class SVNAdminAreaSVNExceptionpublic java.lang.String getThisDirName()
getThisDirName in class SVNAdminAreaprotected void writeEntries(java.io.Writer writer)
throws java.io.IOException,
SVNException
writeEntries in class SVNAdminAreajava.io.IOExceptionSVNExceptionpublic boolean hasPropModifications(java.lang.String name)
throws SVNException
hasPropModifications in class SVNAdminAreaSVNExceptionpublic boolean hasTextModifications(java.lang.String name,
boolean forceComparison)
throws SVNException
hasTextModifications in class SVNAdminAreaSVNExceptionpublic boolean hasProperties(java.lang.String entryName)
throws SVNException
hasProperties in class SVNAdminAreaSVNExceptionpublic boolean lock(boolean stealLock)
throws SVNException
lock in class SVNAdminAreaSVNExceptionboolean innerLock()
throws SVNException
SVNExceptionpublic boolean unlock()
throws SVNException
unlock in class SVNAdminAreaSVNExceptionpublic boolean isVersioned()
isVersioned in class SVNAdminAreapublic SVNAdminArea createVersionedDirectory(java.io.File dir, java.lang.String url, java.lang.String rootURL, java.lang.String uuid, long revNumber, boolean createMyself, SVNDepth depth) throws SVNException
createVersionedDirectory in class SVNAdminAreaSVNExceptionpublic boolean isLocked()
isLocked in class SVNAdminAreapublic int getFormatVersion()
getFormatVersion in class SVNAdminAreaprotected SVNVersionedProperties formatBaseProperties(SVNProperties srcProperties)
formatBaseProperties in class SVNAdminAreaprotected SVNVersionedProperties formatProperties(SVNEntry entry, SVNProperties srcProperties)
formatProperties in class SVNAdminAreapublic void handleKillMe()
throws SVNException
handleKillMe in class SVNAdminAreaSVNExceptionpublic void postCommit(java.lang.String fileName,
long revisionNumber,
boolean implicit,
boolean rerun,
SVNErrorCode errorCode)
throws SVNException
postCommit in class SVNAdminAreaSVNExceptionpublic boolean hasTreeConflict(java.lang.String name)
throws SVNException
hasTreeConflict in class SVNAdminAreaSVNExceptionpublic SVNTreeConflictDescription getTreeConflict(java.lang.String name) throws SVNException
getTreeConflict in class SVNAdminAreaSVNExceptionpublic void addTreeConflict(SVNTreeConflictDescription conflict) throws SVNException
addTreeConflict in class SVNAdminAreaSVNExceptionpublic SVNTreeConflictDescription deleteTreeConflict(java.lang.String name) throws SVNException
deleteTreeConflict in class SVNAdminAreaSVNExceptionpublic void setFileExternalLocation(java.lang.String name,
SVNURL url,
SVNRevision pegRevision,
SVNRevision revision,
SVNURL reposRootURL)
throws SVNException
setFileExternalLocation in class SVNAdminAreaSVNExceptionprotected boolean isEntryPropertyApplicable(java.lang.String propName)
isEntryPropertyApplicable in class SVNAdminAreaprotected boolean readExtraOptions(java.io.BufferedReader reader,
SVNEntry entryAttrs)
throws SVNException,
java.io.IOException
readExtraOptions in class SVNAdminAreaSVNExceptionjava.io.IOExceptionprotected int writeExtraOptions(java.io.Writer writer,
java.lang.String entryName,
SVNEntry Attrs,
int emptyFields)
throws SVNException,
java.io.IOException
writeExtraOptions in class SVNAdminAreaSVNExceptionjava.io.IOException