net.infonode.util
Class ReleaseInfo

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

public class ReleaseInfo
extends java.lang.Object
implements java.io.Serializable

A class that represents release information for a product

Version:
$Revision: 1.9 $
Author:
$Author: jesper $
See Also:
Serialized Form

Constructor Summary
ReleaseInfo(java.lang.String name, java.lang.String vendor, long buildTime, ProductVersion version, java.lang.String license, java.lang.String homepage)
          Constructs a release info object
 
Method Summary
 long getBuildTime()
          Gets the build time in millis
 java.net.URL getHomepage()
          Gets the URL for the product homepage.
 java.lang.String getLicense()
          Gets the product license
 java.lang.String getProductName()
          Gets the product name
 java.lang.String getProductVendor()
          Gets the product vendor
 ProductVersion getProductVersion()
          Gets the product version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleaseInfo

public ReleaseInfo(java.lang.String name,
                   java.lang.String vendor,
                   long buildTime,
                   ProductVersion version,
                   java.lang.String license,
                   java.lang.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

getProductName

public java.lang.String getProductName()
Gets the product name

Returns:
Product name

getProductVendor

public java.lang.String getProductVendor()
Gets the product vendor

Returns:
Product vendor

getLicense

public java.lang.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 java.net.URL getHomepage()
Gets the URL for the product homepage.

Returns:
the URL for the product homepage