Expose latest found version.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 24 Dec 2008 11:12:23 +0000 (12:12 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 24 Dec 2008 11:12:23 +0000 (12:12 +0100)
src/de/todesbaum/jsite/gui/UpdateChecker.java

index 5a13072..e4829ac 100644 (file)
@@ -101,6 +101,19 @@ public class UpdateChecker implements Runnable {
        }
 
        //
+       // ACCESSORS
+       //
+
+       /**
+        * Returns the latest version that was found.
+        *
+        * @return The latest found version
+        */
+       public Version getLatestVersion() {
+               return lastVersion;
+       }
+
+       //
        // ACTIONS
        //