public class FSCommitter
extends java.lang.Object
| Constructor and Description |
|---|
FSCommitter(FSFS fsfs,
FSTransactionRoot txnRoot,
FSTransactionInfo txn,
java.util.Collection<java.lang.String> lockTokens,
java.lang.String author) |
| Modifier and Type | Method and Description |
|---|---|
static void |
abortTransaction(FSFS fsfs,
java.lang.String txnId) |
void |
addChange(java.lang.String path,
FSID id,
FSPathChangeKind changeKind,
boolean textModified,
boolean propsModified,
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) |
public FSCommitter(FSFS fsfs, FSTransactionRoot txnRoot, FSTransactionInfo txn, java.util.Collection<java.lang.String> lockTokens, java.lang.String author)
public static void setAutoUnlock(boolean autoUnlock)
public static boolean isAutoUnlock()
public java.util.Map<java.lang.String,java.lang.String> getAutoUnlockPaths()
public void deleteNode(java.lang.String path)
throws SVNException
SVNExceptionpublic void changeNodeProperty(java.lang.String path,
java.lang.String name,
SVNPropertyValue propValue)
throws SVNException
SVNExceptionpublic void makeCopy(FSRevisionRoot fromRoot, java.lang.String fromPath, java.lang.String toPath, boolean preserveHistory) throws SVNException
SVNExceptionpublic void makeFile(java.lang.String path)
throws SVNException
SVNExceptionpublic void makeDir(java.lang.String path)
throws SVNException
SVNExceptionpublic FSRevisionNode makeEntry(FSRevisionNode parent, java.lang.String parentPath, java.lang.String entryName, boolean isDir, java.lang.String txnId) throws SVNException
SVNExceptionpublic void addChange(java.lang.String path,
FSID id,
FSPathChangeKind changeKind,
boolean textModified,
boolean propsModified,
long copyFromRevision,
java.lang.String copyFromPath,
SVNNodeKind kind)
throws SVNException
SVNExceptionpublic long commitTxn(boolean runPreCommitHook,
boolean runPostCommitHook,
SVNErrorMessage[] postCommitHookError,
java.lang.StringBuffer conflictPath)
throws SVNException
SVNExceptionpublic void makePathMutable(FSParentPath parentPath, java.lang.String errorPath) throws SVNException
SVNExceptionpublic java.lang.String reserveCopyId(java.lang.String txnId)
throws SVNException
SVNExceptionpublic void incrementMergeInfoUpTree(FSParentPath parentPath, long increment) throws SVNException
SVNExceptionpublic static void mergeChanges(FSFS owner, FSTransactionRoot txnRoot, FSRevisionNode sourceNode, java.lang.StringBuffer conflictPath) throws SVNException
SVNExceptionpublic 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
SVNExceptionpublic static void abortTransaction(FSFS fsfs, java.lang.String txnId) throws SVNException
SVNExceptionCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.