Class SVNXMLAdminArea
java.lang.Object
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea
org.tmatesoft.svn.core.internal.wc.admin.SVNXMLAdminArea
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Set
private static final Set
private File
private File
private 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) 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) int
getProperties
(String name) getRevertProperties
(String name) getTreeConflict
(String name) getWCProperties
(String name) void
boolean
hasProperties
(String entryName) boolean
hasPropModifications
(String name) boolean
hasTextModifications
(String name, boolean forceComparison) boolean
hasTreeConflict
(String name) (package private) boolean
void
installProperties
(String name, SVNProperties baseProps, SVNProperties workingProps, SVNLog log, boolean writeBaseProps, boolean close) protected boolean
isEntryPropertyApplicable
(String propName) boolean
isLocked()
boolean
boolean
lock
(boolean stealLock) void
postCommit
(String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode) private SVNProperties
readBaseProperties
(String name) protected boolean
readExtraOptions
(BufferedReader reader, SVNEntry entryAttrs) private SVNProperties
readProperties
(String name) private SVNProperties
readRevertProperties
(String name) private SVNProperties
readWCProperties
(String name) private void
saveBaseProperties
(SVNLog log) void
saveEntries
(boolean close) private void
saveProperties
(SVNLog log) void
saveVersionedProperties
(SVNLog log, boolean close) void
saveWCProperties
(boolean close) void
setFileExternalLocation
(String name, SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNURL reposRootURL) boolean
unlock()
protected void
writeEntries
(Writer writer) protected int
writeExtraOptions
(Writer writer, 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 Details
-
WC_FORMAT
public static final int WC_FORMAT- See Also:
-
THIS_DIR
- See Also:
-
BOOLEAN_PROPERTIES
-
INAPPLICABLE_PROPERTIES
-
myLockFile
-
myEntriesFile
-
-
Constructor Details
-
SVNXMLAdminArea
-
-
Method Details
-
saveProperties
- Throws:
SVNException
-
saveBaseProperties
- Throws:
SVNException
-
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
-
readProperties
- Throws:
SVNException
-
readBaseProperties
- Throws:
SVNException
-
readRevertProperties
- Throws:
SVNException
-
readWCProperties
- Throws:
SVNException
-
saveEntries
- Specified by:
saveEntries
in classSVNAdminArea
- 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
-
fetchEntries
- Specified by:
fetchEntries
in classSVNAdminArea
- Throws:
SVNException
-
getThisDirName
- Specified by:
getThisDirName
in classSVNAdminArea
-
writeEntries
- Specified by:
writeEntries
in classSVNAdminArea
- Throws:
IOException
SVNException
-
hasPropModifications
- Specified by:
hasPropModifications
in classSVNAdminArea
- Throws:
SVNException
-
hasTextModifications
- Overrides:
hasTextModifications
in classSVNAdminArea
- Throws:
SVNException
-
hasProperties
- Specified by:
hasProperties
in classSVNAdminArea
- Throws:
SVNException
-
lock
- Specified by:
lock
in classSVNAdminArea
- Throws:
SVNException
-
innerLock
- Throws:
SVNException
-
unlock
- Specified by:
unlock
in classSVNAdminArea
- Throws:
SVNException
-
isVersioned
public boolean isVersioned()- Specified by:
isVersioned
in classSVNAdminArea
-
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
-
isLocked
public boolean isLocked()- Specified by:
isLocked
in classSVNAdminArea
-
getFormatVersion
public int getFormatVersion()- Specified by:
getFormatVersion
in classSVNAdminArea
-
formatBaseProperties
- Specified by:
formatBaseProperties
in classSVNAdminArea
-
formatProperties
- Specified by:
formatProperties
in classSVNAdminArea
-
handleKillMe
- Specified by:
handleKillMe
in classSVNAdminArea
- 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
-
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
-
isEntryPropertyApplicable
- Specified by:
isEntryPropertyApplicable
in classSVNAdminArea
-
readExtraOptions
protected boolean readExtraOptions(BufferedReader reader, SVNEntry entryAttrs) throws SVNException, IOException - Specified by:
readExtraOptions
in classSVNAdminArea
- Throws:
SVNException
IOException
-
writeExtraOptions
protected int writeExtraOptions(Writer writer, String entryName, SVNEntry Attrs, int emptyFields) throws SVNException, IOException - Specified by:
writeExtraOptions
in classSVNAdminArea
- Throws:
SVNException
IOException
-