Class SvnRemoteOperationRunner<V,T extends SvnOperation<V>>
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.SvnRemoteOperationRunner<V,T>
-
- All Implemented Interfaces:
ISVNCanceller,ISVNEventHandler,ISvnOperationRunner<V,T>
- Direct Known Subclasses:
SvnNgReposToReposCopy,SvnRemoteAnnotate,SvnRemoteCat,SvnRemoteDiff,SvnRemoteExport,SvnRemoteGetInfo,SvnRemoteGetProperties,SvnRemoteGetRevisionProperties,SvnRemoteList,SvnRemoteLog,SvnRemoteRemoteDelete,SvnRemoteRemoteMkDir,SvnRemoteSetLock,SvnRemoteSetPropertyImpl,SvnRemoteSetRevisionProperty,SvnRemoteUnlock
public abstract class SvnRemoteOperationRunner<V,T extends SvnOperation<V>> extends SvnOperationRunner<V,T>
-
-
Field Summary
Fields Modifier and Type Field Description private SvnWcGenerationdetectedWcGenerationprivate SvnRepositoryAccessrepositoryAccess-
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 SvnRemoteOperationRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private SvnWcGenerationgetDetectedWcGeneration()protected SvnRepositoryAccessgetRepositoryAccess()SvnWcGenerationgetWcGeneration()Returns runner's working copy generation it is able to operate on.booleanisApplicable(T operation, SvnWcGeneration wcGeneration)Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)protected booleanisRevisionLocalToWc(SVNRevision revision)voidreset(SvnWcGeneration wcGeneration)Resets runner's working copy generation.-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, run, setOperation, setWcContext
-
-
-
-
Field Detail
-
repositoryAccess
private SvnRepositoryAccess repositoryAccess
-
detectedWcGeneration
private SvnWcGeneration detectedWcGeneration
-
-
Method Detail
-
reset
public void reset(SvnWcGeneration wcGeneration)
Description copied from interface:ISvnOperationRunnerResets runner's working copy generation.- Specified by:
resetin interfaceISvnOperationRunner<V,T extends SvnOperation<V>>- Overrides:
resetin classSvnOperationRunner<V,T extends SvnOperation<V>>- Parameters:
wcGeneration- new working copy generation for the runner
-
isApplicable
public boolean isApplicable(T 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)- Parameters:
operation- operation that needs runnerwcGeneration- working copy generation- Returns:
trueif the runner is applicable, otherwisefalse- Throws:
SVNException
-
getRepositoryAccess
protected SvnRepositoryAccess getRepositoryAccess() throws SVNException
- Throws:
SVNException
-
getDetectedWcGeneration
private SvnWcGeneration getDetectedWcGeneration()
-
isRevisionLocalToWc
protected boolean isRevisionLocalToWc(SVNRevision revision)
-
getWcGeneration
public SvnWcGeneration getWcGeneration()
Description copied from interface:ISvnOperationRunnerReturns runner's working copy generation it is able to operate on.- Returns:
- working copy generation of the runner.
-
-