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 void
addFileToWc(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)
boolean
isApplicable(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.Void
run(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:ISvnOperationRunner
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)- Specified by:
isApplicable
in interfaceISvnOperationRunner<java.lang.Void,SvnCopy>
- Overrides:
isApplicable
in classSvnLocalOperationRunner<java.lang.Void,SvnCopy>
- Parameters:
operation
- operation that needs runnerwcGeneration
- working copy generation- Returns:
true
if the runner is applicable, otherwisefalse
- Throws:
SVNException
-
run
protected java.lang.Void run(SVNWCContext context) throws SVNException
- Specified by:
run
in 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
-
-