public class SVNAdminArea14 extends SVNAdminArea
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ATTRIBUTE_ABSENT |
protected static java.lang.String |
ATTRIBUTE_COPIED |
protected static java.lang.String |
ATTRIBUTE_DELETED |
protected static java.lang.String |
ATTRIBUTE_HAS_PROP_MODS |
protected static java.lang.String |
ATTRIBUTE_HAS_PROPS |
protected static java.lang.String |
ATTRIBUTE_INCOMPLETE |
protected static java.lang.String |
KILL_ADM_ONLY |
static java.lang.String[] |
ourCachableProperties |
protected static java.lang.String |
THIS_DIR |
static int |
WC_FORMAT |
ADM_KILLME, myBaseProperties, myEntries, myProperties, myWasLocked, myWCProperties
Constructor and Description |
---|
SVNAdminArea14(java.io.File dir) |
Modifier and Type | Method and Description |
---|---|
void |
addTreeConflict(SVNTreeConflictDescription conflict) |
protected SVNAdminArea |
createAdminAreaForDir(java.io.File dir) |
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) |
static java.lang.String[] |
getCachableProperties() |
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 entryName) |
void |
handleKillMe() |
boolean |
hasProperties(java.lang.String name) |
boolean |
hasPropModifications(java.lang.String name) |
boolean |
hasTreeConflict(java.lang.String name) |
void |
installProperties(java.lang.String name,
SVNProperties baseProps,
SVNProperties workingProps,
SVNLog log,
boolean writeBaseProps,
boolean close) |
protected boolean |
isEntryFinished(java.lang.String line) |
protected boolean |
isEntryPropertyApplicable(java.lang.String propName) |
boolean |
isLocked() |
boolean |
isVersioned() |
boolean |
lock() |
boolean |
lock(boolean stealLock) |
protected boolean |
parseBoolean(java.lang.String line,
java.lang.String field) |
protected java.lang.String |
parseString(java.lang.String line) |
protected java.lang.String |
parseValue(java.lang.String line) |
void |
postCommit(java.lang.String fileName,
long revisionNumber,
boolean implicit,
boolean rerun,
SVNErrorCode errorCode) |
protected SVNProperties |
readBaseProperties(java.lang.String name) |
protected SVNEntry |
readEntry(java.io.BufferedReader reader,
int entryNumber) |
protected boolean |
readExtraOptions(java.io.BufferedReader reader,
SVNEntry entry) |
protected SVNProperties |
readProperties(java.lang.String name) |
protected SVNProperties |
readRevertProperties(java.lang.String name) |
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) |
static void |
setOptimizedWritingEnabled(boolean enabled) |
boolean |
unlock() |
protected void |
writeEntries(java.io.Writer writer) |
protected int |
writeExtraOptions(java.io.Writer writer,
java.lang.String entryName,
SVNEntry entry,
int emptyFields) |
protected boolean |
writeRevision(java.io.Writer writer,
long revValue,
int emptyFields) |
protected boolean |
writeString(java.io.Writer writer,
java.lang.String str,
int emptyFields) |
protected boolean |
writeTime(java.io.Writer writer,
java.lang.String val,
int emptyFields) |
protected boolean |
writeValue(java.io.Writer writer,
java.lang.String val,
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, 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 static final java.lang.String[] ourCachableProperties
protected static final java.lang.String ATTRIBUTE_COPIED
protected static final java.lang.String ATTRIBUTE_DELETED
protected static final java.lang.String ATTRIBUTE_ABSENT
protected static final java.lang.String ATTRIBUTE_INCOMPLETE
protected static final java.lang.String ATTRIBUTE_HAS_PROPS
protected static final java.lang.String ATTRIBUTE_HAS_PROP_MODS
protected static final java.lang.String KILL_ADM_ONLY
protected static final java.lang.String THIS_DIR
public static void setOptimizedWritingEnabled(boolean enabled)
public static java.lang.String[] getCachableProperties()
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 entryName) throws SVNException
getWCProperties
in class SVNAdminArea
SVNException
protected SVNProperties readBaseProperties(java.lang.String name) throws SVNException
SVNException
protected SVNProperties readRevertProperties(java.lang.String name) throws SVNException
SVNException
protected SVNProperties readProperties(java.lang.String name) throws SVNException
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
public void handleKillMe() throws SVNException
handleKillMe
in class SVNAdminArea
SVNException
public void saveEntries(boolean close) throws SVNException
saveEntries
in class SVNAdminArea
SVNException
protected java.util.Map fetchEntries() throws SVNException
fetchEntries
in class SVNAdminArea
SVNException
protected SVNEntry readEntry(java.io.BufferedReader reader, int entryNumber) throws java.io.IOException, SVNException
java.io.IOException
SVNException
protected boolean isEntryFinished(java.lang.String line)
protected boolean parseBoolean(java.lang.String line, java.lang.String field) throws SVNException
SVNException
protected java.lang.String parseString(java.lang.String line) throws SVNException
SVNException
protected java.lang.String parseValue(java.lang.String line) throws SVNException
SVNException
public java.lang.String getThisDirName()
getThisDirName
in class SVNAdminArea
protected boolean readExtraOptions(java.io.BufferedReader reader, SVNEntry entry) throws SVNException, java.io.IOException
readExtraOptions
in class SVNAdminArea
SVNException
java.io.IOException
protected void writeEntries(java.io.Writer writer) throws java.io.IOException, SVNException
writeEntries
in class SVNAdminArea
java.io.IOException
SVNException
protected int writeExtraOptions(java.io.Writer writer, java.lang.String entryName, SVNEntry entry, int emptyFields) throws SVNException, java.io.IOException
writeExtraOptions
in class SVNAdminArea
SVNException
java.io.IOException
protected boolean writeString(java.io.Writer writer, java.lang.String str, int emptyFields) throws java.io.IOException
java.io.IOException
protected boolean writeValue(java.io.Writer writer, java.lang.String val, int emptyFields) throws java.io.IOException
java.io.IOException
protected boolean writeTime(java.io.Writer writer, java.lang.String val, int emptyFields) throws java.io.IOException
java.io.IOException
protected boolean writeRevision(java.io.Writer writer, long revValue, int emptyFields) throws java.io.IOException
java.io.IOException
public boolean hasPropModifications(java.lang.String name) throws SVNException
hasPropModifications
in class SVNAdminArea
SVNException
public boolean hasProperties(java.lang.String name) throws SVNException
hasProperties
in class SVNAdminArea
SVNException
public boolean lock() throws SVNException
SVNException
public boolean lock(boolean stealLock) throws SVNException
lock
in class SVNAdminArea
SVNException
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
protected SVNVersionedProperties formatBaseProperties(SVNProperties srcProperties)
formatBaseProperties
in class SVNAdminArea
protected SVNVersionedProperties formatProperties(SVNEntry entry, SVNProperties srcProperties)
formatProperties
in class SVNAdminArea
public void postCommit(java.lang.String fileName, long revisionNumber, boolean implicit, boolean rerun, SVNErrorCode errorCode) throws SVNException
postCommit
in class SVNAdminArea
SVNException
public boolean unlock() throws SVNException
unlock
in class SVNAdminArea
SVNException
public boolean isVersioned()
isVersioned
in class SVNAdminArea
public boolean isLocked() throws SVNException
isLocked
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
public int getFormatVersion()
getFormatVersion
in class SVNAdminArea
protected SVNAdminArea createAdminAreaForDir(java.io.File dir)
protected boolean isEntryPropertyApplicable(java.lang.String propName)
isEntryPropertyApplicable
in class SVNAdminArea
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.