Class SVNXMLAdminArea
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea
-
- org.tmatesoft.svn.core.internal.wc.admin.SVNXMLAdminArea
-
public class SVNXMLAdminArea extends SVNAdminArea
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static intWC_FORMAT-
Fields inherited from class org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea
ADM_KILLME, myBaseProperties, myEntries, myProperties, myWasLocked, myWCProperties
-
-
Constructor Summary
Constructors Constructor Description SVNXMLAdminArea(java.io.File dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTreeConflict(SVNTreeConflictDescription conflict)SVNAdminAreacreateVersionedDirectory(java.io.File dir, java.lang.String url, java.lang.String rootURL, java.lang.String uuid, long revNumber, boolean createMyself, SVNDepth depth)SVNTreeConflictDescriptiondeleteTreeConflict(java.lang.String name)protected java.util.MapfetchEntries()protected SVNVersionedPropertiesformatBaseProperties(SVNProperties srcProperties)protected SVNVersionedPropertiesformatProperties(SVNEntry entry, SVNProperties srcProperties)SVNVersionedPropertiesgetBaseProperties(java.lang.String name)intgetFormatVersion()SVNVersionedPropertiesgetProperties(java.lang.String name)SVNVersionedPropertiesgetRevertProperties(java.lang.String name)java.lang.StringgetThisDirName()SVNTreeConflictDescriptiongetTreeConflict(java.lang.String name)SVNVersionedPropertiesgetWCProperties(java.lang.String name)voidhandleKillMe()booleanhasProperties(java.lang.String entryName)booleanhasPropModifications(java.lang.String name)booleanhasTextModifications(java.lang.String name, boolean forceComparison)booleanhasTreeConflict(java.lang.String name)voidinstallProperties(java.lang.String name, SVNProperties baseProps, SVNProperties workingProps, SVNLog log, boolean writeBaseProps, boolean close)protected booleanisEntryPropertyApplicable(java.lang.String propName)booleanisLocked()booleanisVersioned()booleanlock(boolean stealLock)voidpostCommit(java.lang.String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode)protected booleanreadExtraOptions(java.io.BufferedReader reader, SVNEntry entryAttrs)voidsaveEntries(boolean close)voidsaveVersionedProperties(SVNLog log, boolean close)voidsaveWCProperties(boolean close)voidsetFileExternalLocation(java.lang.String name, SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNURL reposRootURL)booleanunlock()protected voidwriteEntries(java.io.Writer writer)protected intwriteExtraOptions(java.io.Writer writer, java.lang.String entryName, SVNEntry Attrs, 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, hasVersionedFileTextChanges, isKillMe, isSafeCleanup, loadEntries, markResolved, mergeProperties, mergeProperties, mergeText, modifyEntry, postUpgradeFormat, removeFromRevisionControl, restoreFile, runLogs, runLogs, setCommitParameters, setLocked, setSafeCleanup, setWCAccess, setWorkingCopyFormatVersion, tweakEntry, updateURL, walkThisDirectory
-
-
-
-
Field Detail
-
WC_FORMAT
public static final int WC_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
saveWCProperties
public void saveWCProperties(boolean close) throws SVNException- Specified by:
saveWCPropertiesin classSVNAdminArea- Throws:
SVNException
-
getBaseProperties
public SVNVersionedProperties getBaseProperties(java.lang.String name) throws SVNException
- Specified by:
getBasePropertiesin classSVNAdminArea- Throws:
SVNException
-
getRevertProperties
public SVNVersionedProperties getRevertProperties(java.lang.String name) throws SVNException
- Specified by:
getRevertPropertiesin classSVNAdminArea- Throws:
SVNException
-
getProperties
public SVNVersionedProperties getProperties(java.lang.String name) throws SVNException
- Specified by:
getPropertiesin classSVNAdminArea- Throws:
SVNException
-
getWCProperties
public SVNVersionedProperties getWCProperties(java.lang.String name) throws SVNException
- Specified by:
getWCPropertiesin classSVNAdminArea- Throws:
SVNException
-
saveEntries
public void saveEntries(boolean close) throws SVNException- Specified by:
saveEntriesin classSVNAdminArea- Throws:
SVNException
-
saveVersionedProperties
public void saveVersionedProperties(SVNLog log, boolean close) throws SVNException
- Specified by:
saveVersionedPropertiesin 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:
installPropertiesin classSVNAdminArea- Throws:
SVNException
-
fetchEntries
protected java.util.Map fetchEntries() throws SVNException- Specified by:
fetchEntriesin classSVNAdminArea- Throws:
SVNException
-
getThisDirName
public java.lang.String getThisDirName()
- Specified by:
getThisDirNamein classSVNAdminArea
-
writeEntries
protected void writeEntries(java.io.Writer writer) throws java.io.IOException, SVNException- Specified by:
writeEntriesin classSVNAdminArea- Throws:
java.io.IOExceptionSVNException
-
hasPropModifications
public boolean hasPropModifications(java.lang.String name) throws SVNException- Specified by:
hasPropModificationsin classSVNAdminArea- Throws:
SVNException
-
hasTextModifications
public boolean hasTextModifications(java.lang.String name, boolean forceComparison) throws SVNException- Overrides:
hasTextModificationsin classSVNAdminArea- Throws:
SVNException
-
hasProperties
public boolean hasProperties(java.lang.String entryName) throws SVNException- Specified by:
hasPropertiesin classSVNAdminArea- Throws:
SVNException
-
lock
public boolean lock(boolean stealLock) throws SVNException- Specified by:
lockin classSVNAdminArea- Throws:
SVNException
-
unlock
public boolean unlock() throws SVNException- Specified by:
unlockin classSVNAdminArea- Throws:
SVNException
-
isVersioned
public boolean isVersioned()
- Specified by:
isVersionedin classSVNAdminArea
-
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:
createVersionedDirectoryin classSVNAdminArea- Throws:
SVNException
-
isLocked
public boolean isLocked()
- Specified by:
isLockedin classSVNAdminArea
-
getFormatVersion
public int getFormatVersion()
- Specified by:
getFormatVersionin classSVNAdminArea
-
formatBaseProperties
protected SVNVersionedProperties formatBaseProperties(SVNProperties srcProperties)
- Specified by:
formatBasePropertiesin classSVNAdminArea
-
formatProperties
protected SVNVersionedProperties formatProperties(SVNEntry entry, SVNProperties srcProperties)
- Specified by:
formatPropertiesin classSVNAdminArea
-
handleKillMe
public void handleKillMe() throws SVNException- Specified by:
handleKillMein classSVNAdminArea- Throws:
SVNException
-
postCommit
public void postCommit(java.lang.String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode) throws SVNException- Specified by:
postCommitin classSVNAdminArea- Throws:
SVNException
-
hasTreeConflict
public boolean hasTreeConflict(java.lang.String name) throws SVNException- Specified by:
hasTreeConflictin classSVNAdminArea- Throws:
SVNException
-
getTreeConflict
public SVNTreeConflictDescription getTreeConflict(java.lang.String name) throws SVNException
- Specified by:
getTreeConflictin classSVNAdminArea- Throws:
SVNException
-
addTreeConflict
public void addTreeConflict(SVNTreeConflictDescription conflict) throws SVNException
- Specified by:
addTreeConflictin classSVNAdminArea- Throws:
SVNException
-
deleteTreeConflict
public SVNTreeConflictDescription deleteTreeConflict(java.lang.String name) throws SVNException
- Specified by:
deleteTreeConflictin classSVNAdminArea- Throws:
SVNException
-
setFileExternalLocation
public void setFileExternalLocation(java.lang.String name, SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNURL reposRootURL) throws SVNException- Specified by:
setFileExternalLocationin classSVNAdminArea- Throws:
SVNException
-
isEntryPropertyApplicable
protected boolean isEntryPropertyApplicable(java.lang.String propName)
- Specified by:
isEntryPropertyApplicablein classSVNAdminArea
-
readExtraOptions
protected boolean readExtraOptions(java.io.BufferedReader reader, SVNEntry entryAttrs) throws SVNException, java.io.IOException- Specified by:
readExtraOptionsin classSVNAdminArea- Throws:
SVNExceptionjava.io.IOException
-
writeExtraOptions
protected int writeExtraOptions(java.io.Writer writer, java.lang.String entryName, SVNEntry Attrs, int emptyFields) throws SVNException, java.io.IOException- Specified by:
writeExtraOptionsin classSVNAdminArea- Throws:
SVNExceptionjava.io.IOException
-
-