Interface ISvnOperationRunner<V,​T extends SvnOperation<V>>

    • Method Detail

      • isApplicable

        boolean isApplicable​(T operation,
                             SvnWcGeneration wcGeneration)
                      throws SVNException
        Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)
        Parameters:
        operation - operation that needs runner
        wcGeneration - working copy generation
        Returns:
        true if the runner is applicable, otherwise false
        Throws:
        SVNException
      • run

        V run​(T operation)
        throws SVNException
        Implementation of operation's run method for concrete working copy generation
        Parameters:
        operation - operation that needs to be executed
        Returns:
        execution result value of operation's return type
        Throws:
        SVNException
      • setWcContext

        void setWcContext​(SVNWCContext context)
        Sets operation's context
        Parameters:
        context - context of the operation
      • reset

        void reset​(SvnWcGeneration detectedWcGeneration)
        Resets runner's working copy generation.
        Parameters:
        detectedWcGeneration - new working copy generation for the runner
      • getWcGeneration

        SvnWcGeneration getWcGeneration()
        Returns runner's working copy generation it is able to operate on.
        Returns:
        working copy generation of the runner.