Interface VersionService

  • All Implemented Interfaces:

    
    public interface VersionService
    
                        

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

    Author:

    Emil Ivov

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Version getCurrentVersion() Returns a Version object containing version details of the application 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
    • Constructor Detail

    • Method Detail

      • getCurrentVersion

         abstract Version getCurrentVersion()

        Returns a Version object containing version details of the application version that we're currently running.

        Returns:

        a Version object containing version details of the application 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 a Version.
        Returns:

        the Version object corresponding to the versionstring.