V - type of the operation's return valueT - type of the operation, subclass of SvnOperationpublic interface ISvnOperationRunner<V,T extends SvnOperation<V>>
SvnOperation,
SvnOperationFactory| Modifier and Type | Method | Description |
|---|---|---|
org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration |
getWcGeneration() |
Returns runner's working copy generation it is able to operate on.
|
boolean |
isApplicable(T operation,
org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration wcGeneration) |
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)
|
void |
reset(org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration detectedWcGeneration) |
Resets runner's working copy generation.
|
V |
run(T operation) |
Implementation of operation's
run method for concrete working copy generation |
void |
setWcContext(org.tmatesoft.svn.core.internal.wc17.SVNWCContext context) |
Sets operation's context
|
boolean isApplicable(T operation, org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration wcGeneration) throws SVNException
operation - operation that needs runnerwcGeneration - working copy generationtrue if the runner is applicable, otherwise falseSVNExceptionV run(T operation) throws SVNException
run method for concrete working copy generationoperation - operation that needs to be executedSVNExceptionvoid setWcContext(org.tmatesoft.svn.core.internal.wc17.SVNWCContext context)
context - context of the operationvoid reset(org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration detectedWcGeneration)
detectedWcGeneration - new working copy generation for the runnerorg.tmatesoft.svn.core.internal.wc2.SvnWcGeneration getWcGeneration()