Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ISvnVersionProcessor |
|
| 1.0;1 |
1 | package net.sf.statsvn.util; | |
2 | ||
3 | /** | |
4 | * Performs svn version queries. | |
5 | * @author Administrator | |
6 | * | |
7 | */ | |
8 | public interface ISvnVersionProcessor { | |
9 | ||
10 | /** | |
11 | * Verifies that the current revision of SVN is SVN_MINIMUM_VERSION | |
12 | * | |
13 | * @throws SvnVersionMismatchException | |
14 | * if SVN executable not found or version less than | |
15 | * SVN_MINIMUM_VERSION | |
16 | * @return the version string | |
17 | */ | |
18 | public abstract String checkSvnVersionSufficient() throws SvnVersionMismatchException; | |
19 | ||
20 | /** | |
21 | * Verifies that the given version supports one diff per revision (version>=1.4.0) | |
22 | * | |
23 | * @param version the current version | |
24 | * @return true if one can do an svn diff per revision | |
25 | */ | |
26 | public abstract boolean checkDiffPerRevPossible(final String version); | |
27 | ||
28 | } |