public class SVNAdminArea14 extends SVNAdminArea
Modifier and Type | Field and Description |
---|---|
protected static String |
ATTRIBUTE_ABSENT |
protected static String |
ATTRIBUTE_COPIED |
protected static String |
ATTRIBUTE_DELETED |
protected static String |
ATTRIBUTE_HAS_PROP_MODS |
protected static String |
ATTRIBUTE_HAS_PROPS |
protected static String |
ATTRIBUTE_INCOMPLETE |
protected static String |
KILL_ADM_ONLY |
static String[] |
ourCachableProperties |
protected static String |
THIS_DIR |
static int |
WC_FORMAT |
ADM_KILLME, myBaseProperties, myEntries, myProperties, myWasLocked, myWCProperties
Constructor and Description |
---|
SVNAdminArea14(File dir) |
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 String[] ourCachableProperties
protected static final String ATTRIBUTE_COPIED
protected static final String ATTRIBUTE_DELETED
protected static final String ATTRIBUTE_ABSENT
protected static final String ATTRIBUTE_INCOMPLETE
protected static final String ATTRIBUTE_HAS_PROPS
protected static final String ATTRIBUTE_HAS_PROP_MODS
protected static final String KILL_ADM_ONLY
protected static final String THIS_DIR
public SVNAdminArea14(File dir)
public static void setOptimizedWritingEnabled(boolean enabled)
public static String[] getCachableProperties()
public void saveWCProperties(boolean close) throws SVNException
saveWCProperties
in class SVNAdminArea
SVNException
public SVNVersionedProperties getBaseProperties(String name) throws SVNException
getBaseProperties
in class SVNAdminArea
SVNException
public SVNVersionedProperties getRevertProperties(String name) throws SVNException
getRevertProperties
in class SVNAdminArea
SVNException
public SVNVersionedProperties getProperties(String name) throws SVNException
getProperties
in class SVNAdminArea
SVNException
public SVNVersionedProperties getWCProperties(String entryName) throws SVNException
getWCProperties
in class SVNAdminArea
SVNException
protected SVNProperties readBaseProperties(String name) throws SVNException
SVNException
protected SVNProperties readRevertProperties(String name) throws SVNException
SVNException
protected SVNProperties readProperties(String name) throws SVNException
SVNException
public void saveVersionedProperties(SVNLog log, boolean close) throws SVNException
saveVersionedProperties
in class SVNAdminArea
SVNException
public void installProperties(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 Map fetchEntries() throws SVNException
fetchEntries
in class SVNAdminArea
SVNException
protected SVNEntry readEntry(BufferedReader reader, int entryNumber) throws IOException, SVNException
IOException
SVNException
protected boolean isEntryFinished(String line)
protected boolean parseBoolean(String line, String field) throws SVNException
SVNException
protected String parseString(String line) throws SVNException
SVNException
protected String parseValue(String line) throws SVNException
SVNException
public String getThisDirName()
getThisDirName
in class SVNAdminArea
protected boolean readExtraOptions(BufferedReader reader, SVNEntry entry) throws SVNException, IOException
readExtraOptions
in class SVNAdminArea
SVNException
IOException
protected void writeEntries(Writer writer) throws IOException, SVNException
writeEntries
in class SVNAdminArea
IOException
SVNException
protected int writeExtraOptions(Writer writer, String entryName, SVNEntry entry, int emptyFields) throws SVNException, IOException
writeExtraOptions
in class SVNAdminArea
SVNException
IOException
protected boolean writeString(Writer writer, String str, int emptyFields) throws IOException
IOException
protected boolean writeValue(Writer writer, String val, int emptyFields) throws IOException
IOException
protected boolean writeTime(Writer writer, String val, int emptyFields) throws IOException
IOException
protected boolean writeRevision(Writer writer, long revValue, int emptyFields) throws IOException
IOException
public boolean hasPropModifications(String name) throws SVNException
hasPropModifications
in class SVNAdminArea
SVNException
public boolean hasProperties(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(File dir, String url, String rootURL, 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(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(String name) throws SVNException
hasTreeConflict
in class SVNAdminArea
SVNException
public SVNTreeConflictDescription getTreeConflict(String name) throws SVNException
getTreeConflict
in class SVNAdminArea
SVNException
public void addTreeConflict(SVNTreeConflictDescription conflict) throws SVNException
addTreeConflict
in class SVNAdminArea
SVNException
public SVNTreeConflictDescription deleteTreeConflict(String name) throws SVNException
deleteTreeConflict
in class SVNAdminArea
SVNException
public void setFileExternalLocation(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(File dir)
protected boolean isEntryPropertyApplicable(String propName)
isEntryPropertyApplicable
in class SVNAdminArea
Copyright © 2019. All rights reserved.