java.lang.Object
org.pentaho.reporting.libraries.base.versioning.VersionHelper

public class VersionHelper extends Object
A utility class for reading versioning information from a Manifest file.
Author:
Thomas Morgner
  • Constructor Details

    • VersionHelper

      public VersionHelper(ProjectInformation projectInformation)
      Loads the versioning information for the given project-information structure using the project information's internal name as lookup key.
      Parameters:
      projectInformation - the project we load information for.
  • Method Details

    • getVersion

      public String getVersion()
      Returns the full version string as computed by createVersion().
      Returns:
      the version string.
      See Also:
      • createVersion()
    • getTitle

      public String getTitle()
      Returns the implementation title as specified in the manifest.
      Returns:
      the implementation title.
    • getProductId

      public String getProductId()
      Returns the product id as computed by createProductId().
      Returns:
      the product id.
      See Also:
      • createProductId()
    • getReleaseMilestone

      public String getReleaseMilestone()
      Returns the release milestone number.
      Returns:
      the milestone number.
    • getReleaseMinor

      public String getReleaseMinor()
      Returns the release minor number.
      Returns:
      the minor version number.
    • getReleaseMajor

      public String getReleaseMajor()
      Returns the release major number.
      Returns:
      the major version number.
    • getReleaseCandidateToken

      public String getReleaseCandidateToken()
      Returns the release candidate token.
      Returns:
      the candidate token.
    • getReleaseNumber

      public String getReleaseNumber()
      Returns the release number.
      Returns:
      the release number.
    • getReleaseBuildNumber

      public String getReleaseBuildNumber()
      Returns the release build number.
      Returns:
      the build-number).