Class SvnNgWcToWcCopy
- 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,SvnCopy>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgWcToWcCopy
-
- All Implemented Interfaces:
ISVNCanceller,ISVNEventHandler,ISvnOperationRunner<java.lang.Void,SvnCopy>
public class SvnNgWcToWcCopy extends SvnNgOperationRunner<java.lang.Void,SvnCopy>
-
-
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 SvnNgWcToWcCopy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancopy(SVNWCContext context, java.io.File source, java.io.File dst, boolean metadataOnly)booleanisApplicable(SvnCopy operation, SvnWcGeneration wcGeneration)Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)voidmove(SVNWCContext context, java.io.File source, java.io.File dst, boolean metadataOnly)protected java.lang.Voidrun(SVNWCContext context)protected booleantryRun(SVNWCContext context, java.util.Collection<SvnCopySource> sources, java.io.File target)-
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(SvnCopy 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,SvnCopy>- Overrides:
isApplicablein classSvnLocalOperationRunner<java.lang.Void,SvnCopy>- 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,SvnCopy>- Throws:
SVNException
-
tryRun
protected boolean tryRun(SVNWCContext context, java.util.Collection<SvnCopySource> sources, java.io.File target) throws SVNException
- Throws:
SVNException
-
move
public void move(SVNWCContext context, java.io.File source, java.io.File dst, boolean metadataOnly) throws SVNException
- Throws:
SVNException
-
copy
protected boolean copy(SVNWCContext context, java.io.File source, java.io.File dst, boolean metadataOnly) throws SVNException
- Throws:
SVNException
-
-