net.infonode.util
Class ReleaseInfo

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

public class ReleaseInfo
extends Object
implements Serializable

A class that represents release information for a product

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

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

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

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


Copyright © 2007 NNL Technology AB. All Rights Reserved.