Class PathlingVersion


  • public class PathlingVersion
    extends Object
    Retrieves version information from the properties file created during the build, making it available to other areas of the application.
    Author:
    John Grimes
    • Constructor Detail

      • PathlingVersion

        public PathlingVersion()
        Default constructor for creating a new PathlingVersion instance.
    • Method Detail

      • getBuildVersion

        public Optional<String> getBuildVersion()
        Returns:
        the POM version of the application
      • getDescriptiveVersion

        public Optional<String> getDescriptiveVersion()
        Returns:
        a descriptive version that includes the POM version and the Git commit SHA at the time of the build