JAL-972 - test to distinguish sources based on age - used to select one of duplicate...
[jalview.git] / src / jalview / ws / dbsources / das / api / jalviewSourceI.java
index fef6a0b..7c36ddb 100644 (file)
@@ -46,4 +46,11 @@ public interface jalviewSourceI
    */
   String getSourceURL();
 
+  /**
+   * test to see if this source's latest version is older than the given source 
+   * @param jalviewSourceI
+   * @return true if newer than given source
+   */
+  boolean isNewerThan(jalviewSourceI jalviewSourceI);
+
 }