public class SVNXMLAdminArea extends SVNAdminArea
Modifier and Type | Field and Description |
---|---|
static int |
WC_FORMAT |
ADM_KILLME, myBaseProperties, myEntries, myProperties, myWasLocked, myWCProperties
Constructor and Description |
---|
SVNXMLAdminArea(java.io.File dir) |
Modifier and Type | Method and Description |
---|---|
void |
addTreeConflict(SVNTreeConflictDescription conflict) |
SVNAdminArea |
createVersionedDirectory(java.io.File dir,
java.lang.String url,
java.lang.String rootURL,
java.lang.String uuid,
long revNumber,
boolean createMyself,
SVNDepth depth) |
SVNTreeConflictDescription |
deleteTreeConflict(java.lang.String name) |
protected java.util.Map |
fetchEntries() |
protected SVNVersionedProperties |
formatBaseProperties(SVNProperties srcProperties) |
protected SVNVersionedProperties |
formatProperties(SVNEntry entry,
SVNProperties srcProperties) |
SVNVersionedProperties |
getBaseProperties(java.lang.String name) |
int |
getFormatVersion() |
SVNVersionedProperties |
getProperties(java.lang.String name) |
SVNVersionedProperties |
getRevertProperties(java.lang.String name) |
java.lang.String |
getThisDirName() |
SVNTreeConflictDescription |
getTreeConflict(java.lang.String name) |
SVNVersionedProperties |
getWCProperties(java.lang.String name) |
void |
handleKillMe() |
boolean |
hasProperties(java.lang.String entryName) |
boolean |
hasPropModifications(java.lang.String name) |
boolean |
hasTextModifications(java.lang.String name,
boolean forceComparison) |
boolean |
hasTreeConflict(java.lang.String name) |
void |
installProperties(java.lang.String name,
SVNProperties baseProps,
SVNProperties workingProps,
SVNLog log,
boolean writeBaseProps,
boolean close) |
protected boolean |
isEntryPropertyApplicable(java.lang.String propName) |
boolean |
isLocked() |
boolean |
isVersioned() |
boolean |
lock(boolean stealLock) |
void |
postCommit(java.lang.String fileName,
long revisionNumber,
boolean implicit,
boolean rerun,
SVNErrorCode errorCode) |
protected boolean |
readExtraOptions(java.io.BufferedReader reader,
SVNEntry entryAttrs) |
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) |
boolean |
unlock() |
protected void |
writeEntries(java.io.Writer writer) |
protected int |
writeExtraOptions(java.io.Writer writer,
java.lang.String entryName,
SVNEntry Attrs,
int emptyFields) |
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
public static final int WC_FORMAT
public void saveWCProperties(boolean close) throws SVNException
saveWCProperties
in class SVNAdminArea
SVNException
public SVNVersionedProperties getBaseProperties(java.lang.String name) throws SVNException
getBaseProperties
in class SVNAdminArea
SVNException
public SVNVersionedProperties getRevertProperties(java.lang.String name) throws SVNException
getRevertProperties
in class SVNAdminArea
SVNException
public SVNVersionedProperties getProperties(java.lang.String name) throws SVNException
getProperties
in class SVNAdminArea
SVNException
public SVNVersionedProperties getWCProperties(java.lang.String name) throws SVNException
getWCProperties
in class SVNAdminArea
SVNException
public void saveEntries(boolean close) throws SVNException
saveEntries
in class SVNAdminArea
SVNException
public void saveVersionedProperties(SVNLog log, boolean close) throws SVNException
saveVersionedProperties
in class SVNAdminArea
SVNException
public void installProperties(java.lang.String name, SVNProperties baseProps, SVNProperties workingProps, SVNLog log, boolean writeBaseProps, boolean close) throws SVNException
installProperties
in class SVNAdminArea
SVNException
protected java.util.Map fetchEntries() throws SVNException
fetchEntries
in class SVNAdminArea
SVNException
public java.lang.String getThisDirName()
getThisDirName
in class SVNAdminArea
protected void writeEntries(java.io.Writer writer) throws java.io.IOException, SVNException
writeEntries
in class SVNAdminArea
java.io.IOException
SVNException
public boolean hasPropModifications(java.lang.String name) throws SVNException
hasPropModifications
in class SVNAdminArea
SVNException
public boolean hasTextModifications(java.lang.String name, boolean forceComparison) throws SVNException
hasTextModifications
in class SVNAdminArea
SVNException
public boolean hasProperties(java.lang.String entryName) throws SVNException
hasProperties
in class SVNAdminArea
SVNException
public boolean lock(boolean stealLock) throws SVNException
lock
in class SVNAdminArea
SVNException
public boolean unlock() throws SVNException
unlock
in class SVNAdminArea
SVNException
public boolean isVersioned()
isVersioned
in class SVNAdminArea
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
createVersionedDirectory
in class SVNAdminArea
SVNException
public boolean isLocked()
isLocked
in class SVNAdminArea
public int getFormatVersion()
getFormatVersion
in class SVNAdminArea
protected SVNVersionedProperties formatBaseProperties(SVNProperties srcProperties)
formatBaseProperties
in class SVNAdminArea
protected SVNVersionedProperties formatProperties(SVNEntry entry, SVNProperties srcProperties)
formatProperties
in class SVNAdminArea
public void handleKillMe() throws SVNException
handleKillMe
in class SVNAdminArea
SVNException
public void postCommit(java.lang.String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode) throws SVNException
postCommit
in class SVNAdminArea
SVNException
public boolean hasTreeConflict(java.lang.String name) throws SVNException
hasTreeConflict
in class SVNAdminArea
SVNException
public SVNTreeConflictDescription getTreeConflict(java.lang.String name) throws SVNException
getTreeConflict
in class SVNAdminArea
SVNException
public void addTreeConflict(SVNTreeConflictDescription conflict) throws SVNException
addTreeConflict
in class SVNAdminArea
SVNException
public SVNTreeConflictDescription deleteTreeConflict(java.lang.String name) throws SVNException
deleteTreeConflict
in class SVNAdminArea
SVNException
public void setFileExternalLocation(java.lang.String name, SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNURL reposRootURL) throws SVNException
setFileExternalLocation
in class SVNAdminArea
SVNException
protected boolean isEntryPropertyApplicable(java.lang.String propName)
isEntryPropertyApplicable
in class SVNAdminArea
protected boolean readExtraOptions(java.io.BufferedReader reader, SVNEntry entryAttrs) throws SVNException, java.io.IOException
readExtraOptions
in class SVNAdminArea
SVNException
java.io.IOException
protected int writeExtraOptions(java.io.Writer writer, java.lang.String entryName, SVNEntry Attrs, int emptyFields) throws SVNException, java.io.IOException
writeExtraOptions
in class SVNAdminArea
SVNException
java.io.IOException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.