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
SVNException
public void changeNodeProperty(java.lang.String path, java.lang.String name, SVNPropertyValue propValue) throws SVNException
SVNException
public void makeCopy(FSRevisionRoot fromRoot, java.lang.String fromPath, java.lang.String toPath, boolean preserveHistory) throws SVNException
SVNException
public void makeFile(java.lang.String path) throws SVNException
SVNException
public void makeDir(java.lang.String path) throws SVNException
SVNException
public FSRevisionNode makeEntry(FSRevisionNode parent, java.lang.String parentPath, java.lang.String entryName, boolean isDir, java.lang.String txnId) throws SVNException
SVNException
public void addChange(java.lang.String path, FSID id, FSPathChangeKind changeKind, boolean textModified, boolean propsModified, long copyFromRevision, java.lang.String copyFromPath, SVNNodeKind kind) throws SVNException
SVNException
public long commitTxn(boolean runPreCommitHook, boolean runPostCommitHook, SVNErrorMessage[] postCommitHookError, java.lang.StringBuffer conflictPath) throws SVNException
SVNException
public void makePathMutable(FSParentPath parentPath, java.lang.String errorPath) throws SVNException
SVNException
public java.lang.String reserveCopyId(java.lang.String txnId) throws SVNException
SVNException
public void incrementMergeInfoUpTree(FSParentPath parentPath, long increment) throws SVNException
SVNException
public static void mergeChanges(FSFS owner, FSTransactionRoot txnRoot, FSRevisionNode sourceNode, java.lang.StringBuffer conflictPath) throws SVNException
SVNException
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
SVNException
public static void abortTransaction(FSFS fsfs, java.lang.String txnId) throws SVNException
SVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.