Class ReleaseInfo

java.lang.Object
net.infonode.util.ReleaseInfo
All Implemented Interfaces:
Serializable

public class ReleaseInfo extends Object implements Serializable
A class that represents release information for a product
See Also:
  • Constructor Details

    • ReleaseInfo

      public ReleaseInfo(String name, String vendor, long buildTime, ProductVersion version, String license, String homepage)
      Constructs a release info object
      Parameters:
      name - product name
      vendor - vendor name
      buildTime - time of nuild in millis
      version - product version
      license - the product license
      homepage - URL to the product homepage
  • Method Details

    • getProductName

      public String getProductName()
      Gets the product name
      Returns:
      Product name
    • getProductVendor

      public String getProductVendor()
      Gets the product vendor
      Returns:
      Product vendor
    • getLicense

      public String getLicense()
      Gets the product license
      Returns:
      Product license
    • getBuildTime

      public long getBuildTime()
      Gets the build time in millis
      Returns:
      Build time in millis
    • getProductVersion

      public ProductVersion getProductVersion()
      Gets the product version
      Returns:
      Product version
    • getHomepage

      public URL getHomepage()
      Gets the URL for the product homepage.
      Returns:
      the URL for the product homepage