Class SvnNgMergePegged
- 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<java.lang.Void,SvnMerge>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgMergePegged
-
- All Implemented Interfaces:
ISVNCanceller,ISVNEventHandler,ISvnOperationRunner<java.lang.Void,SvnMerge>
public class SvnNgMergePegged extends SvnNgOperationRunner<java.lang.Void,SvnMerge>
-
-
Field Summary
-
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
-
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description SvnNgMergePegged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.io.FilegetLockPath(java.io.File firstTarget)booleanisApplicable(SvnMerge operation, SvnWcGeneration wcGeneration)Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)private SvnNgMergeDriver.MergeDatamerge(java.io.File target)protected java.lang.Voidrun(SVNWCContext context)-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner
deleteDeleteFiles, getRepositoryAccess, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccess
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, sleepForTimestamp
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(SvnMerge operation, SvnWcGeneration wcGeneration) throws SVNException
Description copied from interface:ISvnOperationRunnerReturns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)- Specified by:
isApplicablein interfaceISvnOperationRunner<java.lang.Void,SvnMerge>- Overrides:
isApplicablein classSvnLocalOperationRunner<java.lang.Void,SvnMerge>- Parameters:
operation- operation that needs runnerwcGeneration- working copy generation- Returns:
trueif the runner is applicable, otherwisefalse- Throws:
SVNException
-
run
protected java.lang.Void run(SVNWCContext context) throws SVNException
- Specified by:
runin classSvnNgOperationRunner<java.lang.Void,SvnMerge>- Throws:
SVNException
-
getLockPath
private java.io.File getLockPath(java.io.File firstTarget) throws SVNException- Throws:
SVNException
-
merge
private SvnNgMergeDriver.MergeData merge(java.io.File target) throws SVNException
- Throws:
SVNException
-
-