Package 

Interface VersionService


  • 
    public interface VersionService
    
                        

    The version service keeps track of the application version that we are currently running.

    • Method Summary

      Modifier and Type Method Description
      abstract Version getCurrentVersion() Returns a {@code Version} object containing version details of theapplication version that we're currently running.
      abstract Version parseVersionString(String version) Returns a Version instance corresponding to the version string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCurrentVersion

         abstract Version getCurrentVersion()

        Returns a {@code Version} object containing version details of theapplication version that we're currently running.

      • parseVersionString

         abstract Version parseVersionString(String version)

        Returns a Version instance corresponding to the version string.

        Parameters:
        version - a version String that we have obtained by calling aVersion.