Class SvnNgCommit
java.lang.Object
org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner<V,T>
org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner<V,T>
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner<SVNCommitInfo,SvnCommit>
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCommit
- All Implemented Interfaces:
ISvnCommitRunner,SvnNgCommitUtil.ISvnUrlKindCallback,ISVNCanceller,ISVNEventHandler,ISvnOperationRunner<SVNCommitInfo,SvnCommit>
public class SvnNgCommit
extends SvnNgOperationRunner<SVNCommitInfo,SvnCommit>
implements ISvnCommitRunner, SvnNgCommitUtil.ISvnUrlKindCallback
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULLFields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidappendExternalsAsExplicitTargets(java.util.Collection<java.lang.String> targets, java.io.File baseAbsPath, boolean includeFileExternals, boolean includeDirectoryExternals, SVNDepth depth, SVNWCContext context) collectCommitItems(SvnCommit operation) private java.util.Collection<java.io.File>determineLockTargets(java.io.File baseDirectory, java.util.Collection<java.lang.String> targets) voiddisposeCommitPacket(java.lang.Object lockingContext, boolean disposeParentContext) protected SVNCommitInfodoRun(SVNWCContext context, SvnCommitPacket packet) getUrlKind(SVNURL url, long revision) private voidpostProcessCommitItem(SvnNgCommit.SvnCommittedQueue queue, SvnCommitItem item, boolean keepChangelists, boolean keepLocks, SvnChecksum sha1Checksum) private voidprocessCommittedInternal(java.io.File localAbspath, boolean recurse, boolean topOfRecurse, long newRevision, SVNDate revDate, java.lang.String revAuthor, SVNProperties newDavCache, boolean unlockOnly, boolean noUnlock, boolean keepChangelist, SvnChecksum sha1Checksum, SvnNgCommit.SvnCommittedQueue queue) private voidprocessCommittedLeaf(java.io.File localAbspath, boolean viaRecurse, long newRevnum, SVNDate newChangedDate, java.lang.String newChangedAuthor, SVNProperties newDavCache, boolean unlockOnly, boolean noUnlock, boolean keepChangelist, SvnChecksum checksum) private voidprocessCommittedQueue(SvnNgCommit.SvnCommittedQueue queue, long newRevision, java.util.Date revDate, java.lang.String revAuthor) private voidqueueCommitted(SvnNgCommit.SvnCommittedQueue queue, java.io.File localAbsPath, boolean recurse, SVNProperties wcPropChanges, boolean unlockOnly, boolean removeLock, boolean removeChangelist, SvnChecksum sha1Checksum) protected SVNCommitInforun(SVNWCContext context) java.lang.ObjectsplitLockingContext(java.lang.Object lockingContext, SvnCommitPacket newPacket) Methods inherited from class org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner
deleteDeleteFiles, getRepositoryAccess, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccessMethods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, isApplicable, sleepForTimestampMethods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SvnNgCommit
public SvnNgCommit()
-
-
Method Details
-
collectCommitItems
- Specified by:
collectCommitItemsin interfaceISvnCommitRunner- Throws:
SVNException
-
appendExternalsAsExplicitTargets
private void appendExternalsAsExplicitTargets(java.util.Collection<java.lang.String> targets, java.io.File baseAbsPath, boolean includeFileExternals, boolean includeDirectoryExternals, SVNDepth depth, SVNWCContext context) throws SVNException - Throws:
SVNException
-
run
- Specified by:
runin classSvnNgOperationRunner<SVNCommitInfo,SvnCommit> - Throws:
SVNException
-
doRun
- Throws:
SVNException
-
postProcessCommitItem
private void postProcessCommitItem(SvnNgCommit.SvnCommittedQueue queue, SvnCommitItem item, boolean keepChangelists, boolean keepLocks, SvnChecksum sha1Checksum) throws SVNException - Throws:
SVNException
-
getUrlKind
- Specified by:
getUrlKindin interfaceSvnNgCommitUtil.ISvnUrlKindCallback- Throws:
SVNException
-
determineLockTargets
private java.util.Collection<java.io.File> determineLockTargets(java.io.File baseDirectory, java.util.Collection<java.lang.String> targets) throws SVNException - Throws:
SVNException
-
splitLockingContext
public java.lang.Object splitLockingContext(java.lang.Object lockingContext, SvnCommitPacket newPacket) - Specified by:
splitLockingContextin interfaceISvnCommitRunner
-
disposeCommitPacket
public void disposeCommitPacket(java.lang.Object lockingContext, boolean disposeParentContext) throws SVNException - Specified by:
disposeCommitPacketin interfaceISvnCommitRunner- Throws:
SVNException
-
queueCommitted
private void queueCommitted(SvnNgCommit.SvnCommittedQueue queue, java.io.File localAbsPath, boolean recurse, SVNProperties wcPropChanges, boolean unlockOnly, boolean removeLock, boolean removeChangelist, SvnChecksum sha1Checksum) -
processCommittedQueue
private void processCommittedQueue(SvnNgCommit.SvnCommittedQueue queue, long newRevision, java.util.Date revDate, java.lang.String revAuthor) throws SVNException - Throws:
SVNException
-
processCommittedInternal
private void processCommittedInternal(java.io.File localAbspath, boolean recurse, boolean topOfRecurse, long newRevision, SVNDate revDate, java.lang.String revAuthor, SVNProperties newDavCache, boolean unlockOnly, boolean noUnlock, boolean keepChangelist, SvnChecksum sha1Checksum, SvnNgCommit.SvnCommittedQueue queue) throws SVNException - Throws:
SVNException
-
processCommittedLeaf
private void processCommittedLeaf(java.io.File localAbspath, boolean viaRecurse, long newRevnum, SVNDate newChangedDate, java.lang.String newChangedAuthor, SVNProperties newDavCache, boolean unlockOnly, boolean noUnlock, boolean keepChangelist, SvnChecksum checksum) throws SVNException - Throws:
SVNException
-