V
- type of the operation's return valueT
- type of the operation, subclass of SvnOperation
public interface ISvnOperationRunner<V,T extends SvnOperation<V>>
SvnOperation
,
SvnOperationFactory
Modifier and Type | Method and Description |
---|---|
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)
|
void |
reset(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(SVNWCContext context)
Sets operation's context
|
boolean isApplicable(T operation, SvnWcGeneration wcGeneration) throws SVNException
operation
- operation that needs runnerwcGeneration
- working copy generationtrue
if the runner is applicable, otherwise false
SVNException
V run(T operation) throws SVNException
run
method for concrete working copy generationoperation
- operation that needs to be executedSVNException
void setWcContext(SVNWCContext context)
context
- context of the operationvoid reset(SvnWcGeneration detectedWcGeneration)
detectedWcGeneration
- new working copy generation for the runnerSvnWcGeneration getWcGeneration()
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.