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 String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
private static final Set
protected static final String
private File
private File
static final String[]
private static boolean
protected static final 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
createVersionedDirectory
(File dir, String url, String rootURL, String uuid, long revNumber, boolean createMyself, SVNDepth depth) deleteTreeConflict
(String name) protected Map
protected SVNVersionedProperties
formatBaseProperties
(SVNProperties srcProperties) protected SVNVersionedProperties
formatProperties
(SVNEntry entry, SVNProperties srcProperties) getBaseProperties
(String name) static String[]
int
getProperties
(String name) getRevertProperties
(String name) getTreeConflict
(String name) getWCProperties
(String entryName) void
boolean
hasProperties
(String name) boolean
hasPropModifications
(String name) boolean
hasTreeConflict
(String name) void
installProperties
(String name, SVNProperties baseProps, SVNProperties workingProps, SVNLog log, boolean writeBaseProps, boolean close) protected boolean
isEntryFinished
(String line) protected boolean
isEntryPropertyApplicable
(String propName) boolean
isLocked()
boolean
boolean
lock()
boolean
lock
(boolean stealLock) private void
makeKillMe
(boolean killAdminOnly) protected boolean
parseBoolean
(String line, String field) protected String
parseString
(String line) protected String
parseValue
(String line) void
postCommit
(String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode) private Map
protected SVNProperties
readBaseProperties
(String name) protected SVNEntry
readEntry
(BufferedReader reader, int entryNumber) protected boolean
readExtraOptions
(BufferedReader reader, SVNEntry entry) protected SVNProperties
readProperties
(String name) protected SVNProperties
readRevertProperties
(String name) void
saveEntries
(boolean close) void
saveVersionedProperties
(SVNLog log, boolean close) void
saveWCProperties
(boolean close) void
setFileExternalLocation
(String name, SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNURL reposRootURL) static void
setOptimizedWritingEnabled
(boolean enabled) boolean
unlock()
protected void
writeEntries
(Writer writer) private void
writeEntry
(Writer writer, String name, SVNEntry entry, SVNEntry rootEntry) protected int
writeExtraOptions
(Writer writer, String entryName, SVNEntry entry, int emptyFields) protected boolean
writeRevision
(Writer writer, long revValue, int emptyFields) protected boolean
writeString
(Writer writer, String str, int emptyFields) protected boolean
protected boolean
writeValue
(Writer writer, 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
-
Field Details
-
WC_FORMAT
public static final int WC_FORMAT- See Also:
-
ourCachableProperties
-
ATTRIBUTE_COPIED
- See Also:
-
ATTRIBUTE_DELETED
- See Also:
-
ATTRIBUTE_ABSENT
- See Also:
-
ATTRIBUTE_INCOMPLETE
- See Also:
-
ATTRIBUTE_HAS_PROPS
- See Also:
-
ATTRIBUTE_HAS_PROP_MODS
- See Also:
-
KILL_ADM_ONLY
- See Also:
-
THIS_DIR
- See Also:
-
INAPPLICABLE_PROPERTIES
-
myLockFile
-
myEntriesFile
-
ourIsOptimizedWritingEnabled
private static boolean ourIsOptimizedWritingEnabled
-
-
Constructor Details
-
SVNAdminArea14
-
-
Method Details
-
setOptimizedWritingEnabled
public static void setOptimizedWritingEnabled(boolean enabled) -
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(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(BufferedReader reader, int entryNumber) throws IOException, SVNException - Throws:
IOException
SVNException
-
isEntryFinished
-
parseBoolean
- Throws:
SVNException
-
parseString
- Throws:
SVNException
-
parseValue
- Throws:
SVNException
-
getThisDirName
- Specified by:
getThisDirName
in classSVNAdminArea
-
readExtraOptions
protected boolean readExtraOptions(BufferedReader reader, SVNEntry entry) throws SVNException, IOException - Specified by:
readExtraOptions
in classSVNAdminArea
- Throws:
SVNException
IOException
-
writeEntries
- Specified by:
writeEntries
in classSVNAdminArea
- Throws:
IOException
SVNException
-
writeEntry
private void writeEntry(Writer writer, String name, SVNEntry entry, SVNEntry rootEntry) throws IOException, SVNException - Throws:
IOException
SVNException
-
writeExtraOptions
protected int writeExtraOptions(Writer writer, String entryName, SVNEntry entry, int emptyFields) throws SVNException, IOException - Specified by:
writeExtraOptions
in classSVNAdminArea
- Throws:
SVNException
IOException
-
writeString
- Throws:
IOException
-
writeValue
- Throws:
IOException
-
writeTime
- Throws:
IOException
-
writeRevision
- Throws:
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(File dir, String url, String rootURL, 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(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(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
- Specified by:
isEntryPropertyApplicable
in classSVNAdminArea
-