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 voidabortTransaction(FSFS fsfs, java.lang.String txnId)voidaddChange(java.lang.String path, FSID id, FSPathChangeKind changeKind, boolean textModified, boolean propsModified, boolean mergeInfoModified, long copyFromRevision, java.lang.String copyFromPath, SVNNodeKind kind)voidallowLockedOperation(FSFS fsfs, java.lang.String path, java.lang.String username, java.util.Collection<java.lang.String> lockTokens, boolean recursive, boolean haveWriteLock)voidchangeNodeProperty(java.lang.String path, java.lang.String name, SVNPropertyValue propValue)longcommitTxn(boolean runPreCommitHook, boolean runPostCommitHook, SVNErrorMessage[] postCommitHookError, java.lang.StringBuffer conflictPath)voiddeleteNode(java.lang.String path)java.util.Map<java.lang.String,java.lang.String>getAutoUnlockPaths()voidincrementMergeInfoUpTree(FSParentPath parentPath, long increment)static booleanisAutoUnlock()voidmakeCopy(FSRevisionRoot fromRoot, java.lang.String fromPath, java.lang.String toPath, boolean preserveHistory)voidmakeDir(java.lang.String path)FSRevisionNodemakeEntry(FSRevisionNode parent, java.lang.String parentPath, java.lang.String entryName, boolean isDir, java.lang.String txnId)voidmakeFile(java.lang.String path)voidmakePathMutable(FSParentPath parentPath, java.lang.String errorPath)static voidmergeChanges(FSFS owner, FSTransactionRoot txnRoot, FSRevisionNode sourceNode, java.lang.StringBuffer conflictPath)java.lang.StringreserveCopyId(java.lang.String txnId)static voidsetAutoUnlock(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
-
-