public class SvnNgCommit extends SvnNgOperationRunner<SVNCommitInfo,SvnCommit> implements ISvnCommitRunner, SvnNgCommitUtil.ISvnUrlKindCallback
| Modifier and Type | Class and Description |
|---|---|
private static class |
SvnNgCommit.SvnCommittedQueue |
private static class |
SvnNgCommit.SvnCommittedQueueItem |
UNKNOWNNULL| Constructor and Description |
|---|
SvnNgCommit() |
| Modifier and Type | Method and Description |
|---|---|
private void |
appendExternalsAsExplicitTargets(java.util.Collection<java.lang.String> targets,
java.io.File baseAbsPath,
boolean includeFileExternals,
boolean includeDirectoryExternals,
SVNDepth depth,
SVNWCContext context) |
SvnCommitPacket |
collectCommitItems(SvnCommit operation) |
private java.util.Collection<java.io.File> |
determineLockTargets(java.io.File baseDirectory,
java.util.Collection<java.lang.String> targets) |
void |
disposeCommitPacket(java.lang.Object lockingContext,
boolean disposeParentContext) |
protected SVNCommitInfo |
doRun(SVNWCContext context,
SvnCommitPacket packet) |
SVNNodeKind |
getUrlKind(SVNURL url,
long revision) |
private void |
postProcessCommitItem(SvnNgCommit.SvnCommittedQueue queue,
SvnCommitItem item,
boolean keepChangelists,
boolean keepLocks,
SvnChecksum sha1Checksum) |
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) |
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) |
private void |
processCommittedQueue(SvnNgCommit.SvnCommittedQueue queue,
long newRevision,
java.util.Date revDate,
java.lang.String revAuthor) |
private void |
queueCommitted(SvnNgCommit.SvnCommittedQueue queue,
java.io.File localAbsPath,
boolean recurse,
SVNProperties wcPropChanges,
boolean unlockOnly,
boolean removeLock,
boolean removeChangelist,
SvnChecksum sha1Checksum) |
protected SVNCommitInfo |
run(SVNWCContext context) |
java.lang.Object |
splitLockingContext(java.lang.Object lockingContext,
SvnCommitPacket newPacket) |
deleteDeleteFiles, getRepositoryAccess, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccessgetFirstTarget, isApplicable, sleepForTimestampcheckCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContextpublic SvnCommitPacket collectCommitItems(SvnCommit operation) throws SVNException
collectCommitItems in interface ISvnCommitRunnerSVNExceptionprivate void appendExternalsAsExplicitTargets(java.util.Collection<java.lang.String> targets,
java.io.File baseAbsPath,
boolean includeFileExternals,
boolean includeDirectoryExternals,
SVNDepth depth,
SVNWCContext context)
throws SVNException
SVNExceptionprotected SVNCommitInfo run(SVNWCContext context) throws SVNException
run in class SvnNgOperationRunner<SVNCommitInfo,SvnCommit>SVNExceptionprotected SVNCommitInfo doRun(SVNWCContext context, SvnCommitPacket packet) throws SVNException
SVNExceptionprivate void postProcessCommitItem(SvnNgCommit.SvnCommittedQueue queue, SvnCommitItem item, boolean keepChangelists, boolean keepLocks, SvnChecksum sha1Checksum) throws SVNException
SVNExceptionpublic SVNNodeKind getUrlKind(SVNURL url, long revision) throws SVNException
getUrlKind in interface SvnNgCommitUtil.ISvnUrlKindCallbackSVNExceptionprivate java.util.Collection<java.io.File> determineLockTargets(java.io.File baseDirectory,
java.util.Collection<java.lang.String> targets)
throws SVNException
SVNExceptionpublic java.lang.Object splitLockingContext(java.lang.Object lockingContext,
SvnCommitPacket newPacket)
splitLockingContext in interface ISvnCommitRunnerpublic void disposeCommitPacket(java.lang.Object lockingContext,
boolean disposeParentContext)
throws SVNException
disposeCommitPacket in interface ISvnCommitRunnerSVNExceptionprivate void queueCommitted(SvnNgCommit.SvnCommittedQueue queue, java.io.File localAbsPath, boolean recurse, SVNProperties wcPropChanges, boolean unlockOnly, boolean removeLock, boolean removeChangelist, SvnChecksum sha1Checksum)
private void processCommittedQueue(SvnNgCommit.SvnCommittedQueue queue, long newRevision, java.util.Date revDate, java.lang.String revAuthor) throws SVNException
SVNExceptionprivate 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
SVNExceptionprivate 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
SVNException