Class FSCommitter
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.fs.FSCommitter
-
public class FSCommitter extends java.lang.Object
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Constructor Description FSCommitter(FSFS fsfs, FSTransactionRoot txnRoot, FSTransactionInfo txn, java.util.Collection<java.lang.String> lockTokens, java.lang.String author)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
abortTransaction(FSFS fsfs, java.lang.String txnId)
void
addChange(java.lang.String path, FSID id, FSPathChangeKind changeKind, boolean textModified, boolean propsModified, boolean mergeInfoModified, long copyFromRevision, java.lang.String copyFromPath, SVNNodeKind kind)
void
allowLockedOperation(FSFS fsfs, java.lang.String path, java.lang.String username, java.util.Collection<java.lang.String> lockTokens, boolean recursive, boolean haveWriteLock)
void
changeNodeProperty(java.lang.String path, java.lang.String name, SVNPropertyValue propValue)
long
commitTxn(boolean runPreCommitHook, boolean runPostCommitHook, SVNErrorMessage[] postCommitHookError, java.lang.StringBuffer conflictPath)
void
deleteNode(java.lang.String path)
java.util.Map<java.lang.String,java.lang.String>
getAutoUnlockPaths()
void
incrementMergeInfoUpTree(FSParentPath parentPath, long increment)
static boolean
isAutoUnlock()
void
makeCopy(FSRevisionRoot fromRoot, java.lang.String fromPath, java.lang.String toPath, boolean preserveHistory)
void
makeDir(java.lang.String path)
FSRevisionNode
makeEntry(FSRevisionNode parent, java.lang.String parentPath, java.lang.String entryName, boolean isDir, java.lang.String txnId)
void
makeFile(java.lang.String path)
void
makePathMutable(FSParentPath parentPath, java.lang.String errorPath)
static void
mergeChanges(FSFS owner, FSTransactionRoot txnRoot, FSRevisionNode sourceNode, java.lang.StringBuffer conflictPath)
java.lang.String
reserveCopyId(java.lang.String txnId)
static void
setAutoUnlock(boolean autoUnlock)
-
-
-
Constructor Detail
-
FSCommitter
public FSCommitter(FSFS fsfs, FSTransactionRoot txnRoot, FSTransactionInfo txn, java.util.Collection<java.lang.String> lockTokens, java.lang.String author)
-
-
Method Detail
-
setAutoUnlock
public static void setAutoUnlock(boolean autoUnlock)
-
isAutoUnlock
public static boolean isAutoUnlock()
-
getAutoUnlockPaths
public java.util.Map<java.lang.String,java.lang.String> getAutoUnlockPaths()
-
deleteNode
public void deleteNode(java.lang.String path) throws SVNException
- Throws:
SVNException
-
changeNodeProperty
public void changeNodeProperty(java.lang.String path, java.lang.String name, SVNPropertyValue propValue) throws SVNException
- Throws:
SVNException
-
makeCopy
public void makeCopy(FSRevisionRoot fromRoot, java.lang.String fromPath, java.lang.String toPath, boolean preserveHistory) throws SVNException
- Throws:
SVNException
-
makeFile
public void makeFile(java.lang.String path) throws SVNException
- Throws:
SVNException
-
makeDir
public void makeDir(java.lang.String path) throws SVNException
- Throws:
SVNException
-
makeEntry
public FSRevisionNode makeEntry(FSRevisionNode parent, java.lang.String parentPath, java.lang.String entryName, boolean isDir, java.lang.String txnId) throws SVNException
- Throws:
SVNException
-
addChange
public void addChange(java.lang.String path, FSID id, FSPathChangeKind changeKind, boolean textModified, boolean propsModified, boolean mergeInfoModified, long copyFromRevision, java.lang.String copyFromPath, SVNNodeKind kind) throws SVNException
- Throws:
SVNException
-
commitTxn
public long commitTxn(boolean runPreCommitHook, boolean runPostCommitHook, SVNErrorMessage[] postCommitHookError, java.lang.StringBuffer conflictPath) throws SVNException
- Throws:
SVNException
-
makePathMutable
public void makePathMutable(FSParentPath parentPath, java.lang.String errorPath) throws SVNException
- Throws:
SVNException
-
reserveCopyId
public java.lang.String reserveCopyId(java.lang.String txnId) throws SVNException
- Throws:
SVNException
-
incrementMergeInfoUpTree
public void incrementMergeInfoUpTree(FSParentPath parentPath, long increment) throws SVNException
- Throws:
SVNException
-
mergeChanges
public static void mergeChanges(FSFS owner, FSTransactionRoot txnRoot, FSRevisionNode sourceNode, java.lang.StringBuffer conflictPath) throws SVNException
- Throws:
SVNException
-
allowLockedOperation
public void allowLockedOperation(FSFS fsfs, java.lang.String path, java.lang.String username, java.util.Collection<java.lang.String> lockTokens, boolean recursive, boolean haveWriteLock) throws SVNException
- Throws:
SVNException
-
abortTransaction
public static void abortTransaction(FSFS fsfs, java.lang.String txnId) throws SVNException
- Throws:
SVNException
-
-