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 SvnWcGeneration
detectedWcGeneration
private SvnRepositoryAccess
repositoryAccess
-
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 SvnWcGeneration
getDetectedWcGeneration()
protected SvnRepositoryAccess
getRepositoryAccess()
SvnWcGeneration
getWcGeneration()
Returns runner's working copy generation it is able to operate on.boolean
isApplicable(T operation, SvnWcGeneration wcGeneration)
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)protected boolean
isRevisionLocalToWc(SVNRevision revision)
void
reset(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:ISvnOperationRunner
Resets runner's working copy generation.- Specified by:
reset
in interfaceISvnOperationRunner<V,T extends SvnOperation<V>>
- Overrides:
reset
in 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:ISvnOperationRunner
Returns 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:
true
if 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:ISvnOperationRunner
Returns runner's working copy generation it is able to operate on.- Returns:
- working copy generation of the runner.
-
-