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 Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprivate static final Setprotected static final Stringprivate Fileprivate Filestatic final String[]private static booleanprotected static final Stringstatic final intFields 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 TypeMethodDescriptionvoidaddTreeConflict(SVNTreeConflictDescription conflict) protected SVNAdminAreacreateVersionedDirectory(File dir, String url, String rootURL, String uuid, long revNumber, boolean createMyself, SVNDepth depth) deleteTreeConflict(String name) protected Mapprotected SVNVersionedPropertiesformatBaseProperties(SVNProperties srcProperties) protected SVNVersionedPropertiesformatProperties(SVNEntry entry, SVNProperties srcProperties) getBaseProperties(String name) static String[]intgetProperties(String name) getRevertProperties(String name) getTreeConflict(String name) getWCProperties(String entryName) voidbooleanhasProperties(String name) booleanhasPropModifications(String name) booleanhasTreeConflict(String name) voidinstallProperties(String name, SVNProperties baseProps, SVNProperties workingProps, SVNLog log, boolean writeBaseProps, boolean close) protected booleanisEntryFinished(String line) protected booleanisEntryPropertyApplicable(String propName) booleanisLocked()booleanbooleanlock()booleanlock(boolean stealLock) private voidmakeKillMe(boolean killAdminOnly) protected booleanparseBoolean(String line, String field) protected StringparseString(String line) protected StringparseValue(String line) voidpostCommit(String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode) private Mapprotected SVNPropertiesreadBaseProperties(String name) protected SVNEntryreadEntry(BufferedReader reader, int entryNumber) protected booleanreadExtraOptions(BufferedReader reader, SVNEntry entry) protected SVNPropertiesreadProperties(String name) protected SVNPropertiesreadRevertProperties(String name) voidsaveEntries(boolean close) voidsaveVersionedProperties(SVNLog log, boolean close) voidsaveWCProperties(boolean close) voidsetFileExternalLocation(String name, SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNURL reposRootURL) static voidsetOptimizedWritingEnabled(boolean enabled) booleanunlock()protected voidwriteEntries(Writer writer) private voidwriteEntry(Writer writer, String name, SVNEntry entry, SVNEntry rootEntry) protected intwriteExtraOptions(Writer writer, String entryName, SVNEntry entry, int emptyFields) protected booleanwriteRevision(Writer writer, long revValue, int emptyFields) protected booleanwriteString(Writer writer, String str, int emptyFields) protected booleanprotected booleanwriteValue(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:
saveWCPropertiesin classSVNAdminArea- Throws:
SVNException
-
getBaseProperties
- Specified by:
getBasePropertiesin classSVNAdminArea- Throws:
SVNException
-
getRevertProperties
- Specified by:
getRevertPropertiesin classSVNAdminArea- Throws:
SVNException
-
getProperties
- Specified by:
getPropertiesin classSVNAdminArea- Throws:
SVNException
-
getWCProperties
- Specified by:
getWCPropertiesin classSVNAdminArea- Throws:
SVNException
-
readAllWCProperties
- Throws:
SVNException
-
readBaseProperties
- Throws:
SVNException
-
readRevertProperties
- Throws:
SVNException
-
readProperties
- Throws:
SVNException
-
saveVersionedProperties
- Specified by:
saveVersionedPropertiesin classSVNAdminArea- Throws:
SVNException
-
installProperties
public void installProperties(String name, SVNProperties baseProps, SVNProperties workingProps, SVNLog log, boolean writeBaseProps, boolean close) throws SVNException - Specified by:
installPropertiesin classSVNAdminArea- Throws:
SVNException
-
handleKillMe
- Specified by:
handleKillMein classSVNAdminArea- Throws:
SVNException
-
saveEntries
- Specified by:
saveEntriesin classSVNAdminArea- Throws:
SVNException
-
fetchEntries
- Specified by:
fetchEntriesin classSVNAdminArea- Throws:
SVNException
-
readEntry
protected SVNEntry readEntry(BufferedReader reader, int entryNumber) throws IOException, SVNException - Throws:
IOExceptionSVNException
-
isEntryFinished
-
parseBoolean
- Throws:
SVNException
-
parseString
- Throws:
SVNException
-
parseValue
- Throws:
SVNException
-
getThisDirName
- Specified by:
getThisDirNamein classSVNAdminArea
-
readExtraOptions
protected boolean readExtraOptions(BufferedReader reader, SVNEntry entry) throws SVNException, IOException - Specified by:
readExtraOptionsin classSVNAdminArea- Throws:
SVNExceptionIOException
-
writeEntries
- Specified by:
writeEntriesin classSVNAdminArea- Throws:
IOExceptionSVNException
-
writeEntry
private void writeEntry(Writer writer, String name, SVNEntry entry, SVNEntry rootEntry) throws IOException, SVNException - Throws:
IOExceptionSVNException
-
writeExtraOptions
protected int writeExtraOptions(Writer writer, String entryName, SVNEntry entry, int emptyFields) throws SVNException, IOException - Specified by:
writeExtraOptionsin classSVNAdminArea- Throws:
SVNExceptionIOException
-
writeString
- Throws:
IOException
-
writeValue
- Throws:
IOException
-
writeTime
- Throws:
IOException
-
writeRevision
- Throws:
IOException
-
hasPropModifications
- Specified by:
hasPropModificationsin classSVNAdminArea- Throws:
SVNException
-
hasProperties
- Specified by:
hasPropertiesin classSVNAdminArea- Throws:
SVNException
-
lock
- Throws:
SVNException
-
lock
- Specified by:
lockin 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:
createVersionedDirectoryin classSVNAdminArea- Throws:
SVNException
-
formatBaseProperties
- Specified by:
formatBasePropertiesin classSVNAdminArea
-
formatProperties
- Specified by:
formatPropertiesin classSVNAdminArea
-
makeKillMe
- Throws:
SVNException
-
postCommit
public void postCommit(String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode) throws SVNException - Specified by:
postCommitin classSVNAdminArea- Throws:
SVNException
-
unlock
- Specified by:
unlockin classSVNAdminArea- Throws:
SVNException
-
isVersioned
public boolean isVersioned()- Specified by:
isVersionedin classSVNAdminArea
-
isLocked
- Specified by:
isLockedin classSVNAdminArea- Throws:
SVNException
-
hasTreeConflict
- Specified by:
hasTreeConflictin classSVNAdminArea- Throws:
SVNException
-
getTreeConflict
- Specified by:
getTreeConflictin classSVNAdminArea- Throws:
SVNException
-
addTreeConflict
- Specified by:
addTreeConflictin classSVNAdminArea- Throws:
SVNException
-
deleteTreeConflict
- Specified by:
deleteTreeConflictin classSVNAdminArea- Throws:
SVNException
-
setFileExternalLocation
public void setFileExternalLocation(String name, SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNURL reposRootURL) throws SVNException - Specified by:
setFileExternalLocationin classSVNAdminArea- Throws:
SVNException
-
getFormatVersion
public int getFormatVersion()- Specified by:
getFormatVersionin classSVNAdminArea
-
createAdminAreaForDir
-
isEntryPropertyApplicable
- Specified by:
isEntryPropertyApplicablein classSVNAdminArea
-