View Javadoc

1   package net.sf.statsvn.util.svnkit;
2   
3   import net.sf.statsvn.util.ISvnProcessor;
4   import net.sf.statsvn.util.SvnStartupUtils;
5   import net.sf.statsvn.util.SvnVersionMismatchException;
6   
7   /**
8    * Runs svn -version using svnkit. (Possible?)
9    *  
10   * @author jkealey, yogesh
11   */
12  public class SvnKitVersion extends SvnStartupUtils {
13  
14      public SvnKitVersion(ISvnProcessor processor) {
15          super(processor);
16      }
17  
18      public SvnKitProcessor getSvnKitProcessor() {
19          return (SvnKitProcessor) getProcessor();
20      }
21      
22      public String checkSvnVersionSufficient() throws SvnVersionMismatchException {
23          // TODO: Not sure how to implement with svnkit. 
24          return "1.4.0";
25      }
26  
27  }