Class VersionInfo

java.lang.Object
org.mapfish.print.VersionInfo

public class VersionInfo extends Object
Allows to access version information (from the manifest).

Works only in a servlet context.

  • Constructor Details

    • VersionInfo

      public VersionInfo()
  • Method Details

    • init

      @PostConstruct public final void init()
      Output the version on the logs.
    • getVersion

      public final String getVersion()
      Returns:
      The version
    • getGitHash

      public final String getGitHash()
      Returns:
      The GIT hash