Class SVNAdminArea14
java.lang.Object
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14
- Direct Known Subclasses:
SVNAdminArea15
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final java.lang.String
protected static final java.lang.String
protected static final java.lang.String
protected static final java.lang.String
protected static final java.lang.String
protected static final java.lang.String
private static final java.util.Set
protected static final java.lang.String
private java.io.File
private java.io.File
static final java.lang.String[]
private static boolean
protected static final java.lang.String
static final int
Fields inherited from class org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea
ADM_KILLME, myBaseProperties, myEntries, myProperties, myWasLocked, myWCProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTreeConflict
(SVNTreeConflictDescription conflict) protected SVNAdminArea
createAdminAreaForDir
(java.io.File dir) createVersionedDirectory
(java.io.File dir, java.lang.String url, java.lang.String rootURL, java.lang.String uuid, long revNumber, boolean createMyself, SVNDepth depth) deleteTreeConflict
(java.lang.String name) protected java.util.Map
protected SVNVersionedProperties
formatBaseProperties
(SVNProperties srcProperties) protected SVNVersionedProperties
formatProperties
(SVNEntry entry, SVNProperties srcProperties) getBaseProperties
(java.lang.String name) static java.lang.String[]
int
getProperties
(java.lang.String name) getRevertProperties
(java.lang.String name) java.lang.String
getTreeConflict
(java.lang.String name) getWCProperties
(java.lang.String entryName) void
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
boolean
lock()
boolean
lock
(boolean stealLock) private void
makeKillMe
(boolean killAdminOnly) 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) private java.util.Map
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) private void
writeEntry
(java.io.Writer writer, java.lang.String name, SVNEntry entry, SVNEntry rootEntry) 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) Methods inherited from class org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea
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, walkThisDirectory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
WC_FORMAT
public static final int WC_FORMAT- See Also:
-
ourCachableProperties
public static final java.lang.String[] ourCachableProperties -
ATTRIBUTE_COPIED
protected static final java.lang.String ATTRIBUTE_COPIED- See Also:
-
ATTRIBUTE_DELETED
protected static final java.lang.String ATTRIBUTE_DELETED- See Also:
-
ATTRIBUTE_ABSENT
protected static final java.lang.String ATTRIBUTE_ABSENT- See Also:
-
ATTRIBUTE_INCOMPLETE
protected static final java.lang.String ATTRIBUTE_INCOMPLETE- See Also:
-
ATTRIBUTE_HAS_PROPS
protected static final java.lang.String ATTRIBUTE_HAS_PROPS- See Also:
-
ATTRIBUTE_HAS_PROP_MODS
protected static final java.lang.String ATTRIBUTE_HAS_PROP_MODS- See Also:
-
KILL_ADM_ONLY
protected static final java.lang.String KILL_ADM_ONLY- See Also:
-
THIS_DIR
protected static final java.lang.String THIS_DIR- See Also:
-
INAPPLICABLE_PROPERTIES
private static final java.util.Set INAPPLICABLE_PROPERTIES -
myLockFile
private java.io.File myLockFile -
myEntriesFile
private java.io.File myEntriesFile -
ourIsOptimizedWritingEnabled
private static boolean ourIsOptimizedWritingEnabled
-
-
Constructor Details
-
SVNAdminArea14
public SVNAdminArea14(java.io.File dir)
-
-
Method Details
-
setOptimizedWritingEnabled
public static void setOptimizedWritingEnabled(boolean enabled) -
getCachableProperties
public static java.lang.String[] getCachableProperties() -
saveWCProperties
- Specified by:
saveWCProperties
in classSVNAdminArea
- Throws:
SVNException
-
getBaseProperties
- Specified by:
getBaseProperties
in classSVNAdminArea
- Throws:
SVNException
-
getRevertProperties
- Specified by:
getRevertProperties
in classSVNAdminArea
- Throws:
SVNException
-
getProperties
- Specified by:
getProperties
in classSVNAdminArea
- Throws:
SVNException
-
getWCProperties
- Specified by:
getWCProperties
in classSVNAdminArea
- Throws:
SVNException
-
readAllWCProperties
- Throws:
SVNException
-
readBaseProperties
- Throws:
SVNException
-
readRevertProperties
- Throws:
SVNException
-
readProperties
- Throws:
SVNException
-
saveVersionedProperties
- Specified by:
saveVersionedProperties
in classSVNAdminArea
- Throws:
SVNException
-
installProperties
public void installProperties(java.lang.String name, SVNProperties baseProps, SVNProperties workingProps, SVNLog log, boolean writeBaseProps, boolean close) throws SVNException - Specified by:
installProperties
in classSVNAdminArea
- Throws:
SVNException
-
handleKillMe
- Specified by:
handleKillMe
in classSVNAdminArea
- Throws:
SVNException
-
saveEntries
- Specified by:
saveEntries
in classSVNAdminArea
- Throws:
SVNException
-
fetchEntries
- Specified by:
fetchEntries
in classSVNAdminArea
- Throws:
SVNException
-
readEntry
protected SVNEntry readEntry(java.io.BufferedReader reader, int entryNumber) throws java.io.IOException, SVNException - Throws:
java.io.IOException
SVNException
-
isEntryFinished
protected boolean isEntryFinished(java.lang.String line) -
parseBoolean
- Throws:
SVNException
-
parseString
- Throws:
SVNException
-
parseValue
- Throws:
SVNException
-
getThisDirName
public java.lang.String getThisDirName()- Specified by:
getThisDirName
in classSVNAdminArea
-
readExtraOptions
protected boolean readExtraOptions(java.io.BufferedReader reader, SVNEntry entry) throws SVNException, java.io.IOException - Specified by:
readExtraOptions
in classSVNAdminArea
- Throws:
SVNException
java.io.IOException
-
writeEntries
- Specified by:
writeEntries
in classSVNAdminArea
- Throws:
java.io.IOException
SVNException
-
writeEntry
private void writeEntry(java.io.Writer writer, java.lang.String name, SVNEntry entry, SVNEntry rootEntry) throws java.io.IOException, SVNException - Throws:
java.io.IOException
SVNException
-
writeExtraOptions
protected int writeExtraOptions(java.io.Writer writer, java.lang.String entryName, SVNEntry entry, int emptyFields) throws SVNException, java.io.IOException - Specified by:
writeExtraOptions
in classSVNAdminArea
- Throws:
SVNException
java.io.IOException
-
writeString
protected boolean writeString(java.io.Writer writer, java.lang.String str, int emptyFields) throws java.io.IOException - Throws:
java.io.IOException
-
writeValue
protected boolean writeValue(java.io.Writer writer, java.lang.String val, int emptyFields) throws java.io.IOException - Throws:
java.io.IOException
-
writeTime
protected boolean writeTime(java.io.Writer writer, java.lang.String val, int emptyFields) throws java.io.IOException - Throws:
java.io.IOException
-
writeRevision
protected boolean writeRevision(java.io.Writer writer, long revValue, int emptyFields) throws java.io.IOException - Throws:
java.io.IOException
-
hasPropModifications
- Specified by:
hasPropModifications
in classSVNAdminArea
- Throws:
SVNException
-
hasProperties
- Specified by:
hasProperties
in classSVNAdminArea
- Throws:
SVNException
-
lock
- Throws:
SVNException
-
lock
- Specified by:
lock
in classSVNAdminArea
- Throws:
SVNException
-
createVersionedDirectory
public 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 - Specified by:
createVersionedDirectory
in classSVNAdminArea
- Throws:
SVNException
-
formatBaseProperties
- Specified by:
formatBaseProperties
in classSVNAdminArea
-
formatProperties
- Specified by:
formatProperties
in classSVNAdminArea
-
makeKillMe
- Throws:
SVNException
-
postCommit
public void postCommit(java.lang.String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode) throws SVNException - Specified by:
postCommit
in classSVNAdminArea
- Throws:
SVNException
-
unlock
- Specified by:
unlock
in classSVNAdminArea
- Throws:
SVNException
-
isVersioned
public boolean isVersioned()- Specified by:
isVersioned
in classSVNAdminArea
-
isLocked
- Specified by:
isLocked
in classSVNAdminArea
- Throws:
SVNException
-
hasTreeConflict
- Specified by:
hasTreeConflict
in classSVNAdminArea
- Throws:
SVNException
-
getTreeConflict
- Specified by:
getTreeConflict
in classSVNAdminArea
- Throws:
SVNException
-
addTreeConflict
- Specified by:
addTreeConflict
in classSVNAdminArea
- Throws:
SVNException
-
deleteTreeConflict
- Specified by:
deleteTreeConflict
in classSVNAdminArea
- Throws:
SVNException
-
setFileExternalLocation
public void setFileExternalLocation(java.lang.String name, SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNURL reposRootURL) throws SVNException - Specified by:
setFileExternalLocation
in classSVNAdminArea
- Throws:
SVNException
-
getFormatVersion
public int getFormatVersion()- Specified by:
getFormatVersion
in classSVNAdminArea
-
createAdminAreaForDir
-
isEntryPropertyApplicable
protected boolean isEntryPropertyApplicable(java.lang.String propName) - Specified by:
isEntryPropertyApplicable
in classSVNAdminArea
-