Class SvnNgReposToWcCopy
- 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.SvnNgReposToWcCopy
-
- All Implemented Interfaces:
ISVNCanceller,ISVNEventHandler,ISvnOperationRunner<java.lang.Void,SvnCopy>
public class SvnNgReposToWcCopy 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 SvnNgReposToWcCopy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddFileToWc(SVNWCContext context, java.io.File path, java.io.InputStream newBaseContents, java.io.InputStream newContents, SVNProperties newBaseProps, SVNProperties newProps, SVNURL copyFromURL, long copyFromRev)protected java.util.Collection<SvnCopySource>expandCopySources(java.util.Collection<SvnCopySource> sources)booleanisApplicable(SvnCopy operation, SvnWcGeneration wcGeneration)Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)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(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
-
expandCopySources
protected java.util.Collection<SvnCopySource> expandCopySources(java.util.Collection<SvnCopySource> sources) throws SVNException
- Throws:
SVNException
-
addFileToWc
public static void addFileToWc(SVNWCContext context, java.io.File path, java.io.InputStream newBaseContents, java.io.InputStream newContents, SVNProperties newBaseProps, SVNProperties newProps, SVNURL copyFromURL, long copyFromRev) throws SVNException
- Throws:
SVNException
-
-