public class SVNAdminArea14 extends SVNAdminArea
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ATTRIBUTE_ABSENT |
protected static java.lang.String |
ATTRIBUTE_COPIED |
protected static java.lang.String |
ATTRIBUTE_DELETED |
protected static java.lang.String |
ATTRIBUTE_HAS_PROP_MODS |
protected static java.lang.String |
ATTRIBUTE_HAS_PROPS |
protected static java.lang.String |
ATTRIBUTE_INCOMPLETE |
protected static java.lang.String |
KILL_ADM_ONLY |
static java.lang.String[] |
ourCachableProperties |
protected static java.lang.String |
THIS_DIR |
static int |
WC_FORMAT |
ADM_KILLME, myBaseProperties, myEntries, myProperties, myWasLocked, myWCProperties| Constructor and Description |
|---|
SVNAdminArea14(java.io.File dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeConflict(SVNTreeConflictDescription conflict) |
protected SVNAdminArea |
createAdminAreaForDir(java.io.File dir) |
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) |
static java.lang.String[] |
getCachableProperties() |
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 entryName) |
void |
handleKillMe() |
boolean |
hasProperties(java.lang.String name) |
boolean |
hasPropModifications(java.lang.String name) |
boolean |
hasTreeConflict(java.lang.String name) |
void |
installProperties(java.lang.String name,
SVNProperties baseProps,
SVNProperties workingProps,
SVNLog log,
boolean writeBaseProps,
boolean close) |
protected boolean |
isEntryFinished(java.lang.String line) |
protected boolean |
isEntryPropertyApplicable(java.lang.String propName) |
boolean |
isLocked() |
boolean |
isVersioned() |
boolean |
lock() |
boolean |
lock(boolean stealLock) |
protected boolean |
parseBoolean(java.lang.String line,
java.lang.String field) |
protected java.lang.String |
parseString(java.lang.String line) |
protected java.lang.String |
parseValue(java.lang.String line) |
void |
postCommit(java.lang.String fileName,
long revisionNumber,
boolean implicit,
boolean rerun,
SVNErrorCode errorCode) |
protected SVNProperties |
readBaseProperties(java.lang.String name) |
protected SVNEntry |
readEntry(java.io.BufferedReader reader,
int entryNumber) |
protected boolean |
readExtraOptions(java.io.BufferedReader reader,
SVNEntry entry) |
protected SVNProperties |
readProperties(java.lang.String name) |
protected SVNProperties |
readRevertProperties(java.lang.String name) |
void |
saveEntries(boolean close) |
void |
saveVersionedProperties(SVNLog log,
boolean close) |
void |
saveWCProperties(boolean close) |
void |
setFileExternalLocation(java.lang.String name,
SVNURL url,
SVNRevision pegRevision,
SVNRevision revision,
SVNURL reposRootURL) |
static void |
setOptimizedWritingEnabled(boolean enabled) |
boolean |
unlock() |
protected void |
writeEntries(java.io.Writer writer) |
protected int |
writeExtraOptions(java.io.Writer writer,
java.lang.String entryName,
SVNEntry entry,
int emptyFields) |
protected boolean |
writeRevision(java.io.Writer writer,
long revValue,
int emptyFields) |
protected boolean |
writeString(java.io.Writer writer,
java.lang.String str,
int emptyFields) |
protected boolean |
writeTime(java.io.Writer writer,
java.lang.String val,
int emptyFields) |
protected boolean |
writeValue(java.io.Writer writer,
java.lang.String val,
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, 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
public static final java.lang.String[] ourCachableProperties
protected static final java.lang.String ATTRIBUTE_COPIED
protected static final java.lang.String ATTRIBUTE_DELETED
protected static final java.lang.String ATTRIBUTE_ABSENT
protected static final java.lang.String ATTRIBUTE_INCOMPLETE
protected static final java.lang.String ATTRIBUTE_HAS_PROPS
protected static final java.lang.String ATTRIBUTE_HAS_PROP_MODS
protected static final java.lang.String KILL_ADM_ONLY
protected static final java.lang.String THIS_DIR
public static void setOptimizedWritingEnabled(boolean enabled)
public static java.lang.String[] getCachableProperties()
public 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 entryName) throws SVNException
getWCProperties in class SVNAdminAreaSVNExceptionprotected SVNProperties readBaseProperties(java.lang.String name) throws SVNException
SVNExceptionprotected SVNProperties readRevertProperties(java.lang.String name) throws SVNException
SVNExceptionprotected SVNProperties readProperties(java.lang.String name) throws SVNException
SVNExceptionpublic 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 SVNAdminAreaSVNExceptionpublic void handleKillMe()
throws SVNException
handleKillMe in class SVNAdminAreaSVNExceptionpublic void saveEntries(boolean close)
throws SVNException
saveEntries in class SVNAdminAreaSVNExceptionprotected java.util.Map fetchEntries()
throws SVNException
fetchEntries in class SVNAdminAreaSVNExceptionprotected SVNEntry readEntry(java.io.BufferedReader reader, int entryNumber) throws java.io.IOException, SVNException
java.io.IOExceptionSVNExceptionprotected boolean isEntryFinished(java.lang.String line)
protected boolean parseBoolean(java.lang.String line,
java.lang.String field)
throws SVNException
SVNExceptionprotected java.lang.String parseString(java.lang.String line)
throws SVNException
SVNExceptionprotected java.lang.String parseValue(java.lang.String line)
throws SVNException
SVNExceptionpublic java.lang.String getThisDirName()
getThisDirName in class SVNAdminAreaprotected boolean readExtraOptions(java.io.BufferedReader reader,
SVNEntry entry)
throws SVNException,
java.io.IOException
readExtraOptions in class SVNAdminAreaSVNExceptionjava.io.IOExceptionprotected void writeEntries(java.io.Writer writer)
throws java.io.IOException,
SVNException
writeEntries in class SVNAdminAreajava.io.IOExceptionSVNExceptionprotected int writeExtraOptions(java.io.Writer writer,
java.lang.String entryName,
SVNEntry entry,
int emptyFields)
throws SVNException,
java.io.IOException
writeExtraOptions in class SVNAdminAreaSVNExceptionjava.io.IOExceptionprotected boolean writeString(java.io.Writer writer,
java.lang.String str,
int emptyFields)
throws java.io.IOException
java.io.IOExceptionprotected boolean writeValue(java.io.Writer writer,
java.lang.String val,
int emptyFields)
throws java.io.IOException
java.io.IOExceptionprotected boolean writeTime(java.io.Writer writer,
java.lang.String val,
int emptyFields)
throws java.io.IOException
java.io.IOExceptionprotected boolean writeRevision(java.io.Writer writer,
long revValue,
int emptyFields)
throws java.io.IOException
java.io.IOExceptionpublic boolean hasPropModifications(java.lang.String name)
throws SVNException
hasPropModifications in class SVNAdminAreaSVNExceptionpublic boolean hasProperties(java.lang.String name)
throws SVNException
hasProperties in class SVNAdminAreaSVNExceptionpublic boolean lock()
throws SVNException
SVNExceptionpublic boolean lock(boolean stealLock)
throws SVNException
lock in class SVNAdminAreaSVNExceptionpublic 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 SVNAdminAreaSVNExceptionprotected SVNVersionedProperties formatBaseProperties(SVNProperties srcProperties)
formatBaseProperties in class SVNAdminAreaprotected SVNVersionedProperties formatProperties(SVNEntry entry, SVNProperties srcProperties)
formatProperties in class SVNAdminAreapublic void postCommit(java.lang.String fileName,
long revisionNumber,
boolean implicit,
boolean rerun,
SVNErrorCode errorCode)
throws SVNException
postCommit in class SVNAdminAreaSVNExceptionpublic boolean unlock()
throws SVNException
unlock in class SVNAdminAreaSVNExceptionpublic boolean isVersioned()
isVersioned in class SVNAdminAreapublic boolean isLocked()
throws SVNException
isLocked 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 SVNAdminAreaSVNExceptionpublic int getFormatVersion()
getFormatVersion in class SVNAdminAreaprotected SVNAdminArea createAdminAreaForDir(java.io.File dir)
protected boolean isEntryPropertyApplicable(java.lang.String propName)
isEntryPropertyApplicable in class SVNAdminAreaCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.