net.infonode.util

Class ReleaseInfo

public class ReleaseInfo extends Object implements Serializable

A class that represents release information for a product

Version: $Revision: 1.9 $

Author: $Author: jesper $

Constructor Summary
ReleaseInfo(String name, String vendor, long buildTime, ProductVersion version, String license, String homepage)
Constructs a release info object
Method Summary
longgetBuildTime()
Gets the build time in millis
URLgetHomepage()
Gets the URL for the product homepage.
StringgetLicense()
Gets the product license
StringgetProductName()
Gets the product name
StringgetProductVendor()
Gets the product vendor
ProductVersiongetProductVersion()
Gets the product version

Constructor Detail

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 Detail

getBuildTime

public long getBuildTime()
Gets the build time in millis

Returns: Build time in millis

getHomepage

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

Returns: the URL for the product homepage

getLicense

public String getLicense()
Gets the product license

Returns: Product license

getProductName

public String getProductName()
Gets the product name

Returns: Product name

getProductVendor

public String getProductVendor()
Gets the product vendor

Returns: Product vendor

getProductVersion

public ProductVersion getProductVersion()
Gets the product version

Returns: Product version