|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- type of the operation's return valueT
- type of the operation, subclass of SvnOperation
public interface ISvnOperationRunner<V,T extends SvnOperation<V>>
This interface describes Svn* operation runner. Provides context for the operation. Defines runner's working copy generation, which is used by for deciding whether it is applicable runner implementation of the operation.
SvnOperation
,
SvnOperationFactory
Method Summary | |
---|---|
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 |
Method Detail |
---|
boolean isApplicable(T operation, org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration wcGeneration) throws SVNException
operation
- operation that needs runnerwcGeneration
- working copy generation
true
if the runner is applicable, otherwise false
SVNException
V run(T operation) throws SVNException
run
method for concrete working copy generation
operation
- operation that needs to be executed
SVNException
void 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |