Package net.infonode.util
Class ReleaseInfo
java.lang.Object
net.infonode.util.ReleaseInfo
- All Implemented Interfaces:
Serializable
A class that represents release information for a product
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReleaseInfo
(String name, String vendor, long buildTime, ProductVersion version, String license, String homepage) Constructs a release info object -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the build time in millisGets the URL for the product homepage.Gets the product licenseGets the product nameGets the product vendorGets the product version
-
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 namevendor
- vendor namebuildTime
- time of nuild in millisversion
- product versionlicense
- the product licensehomepage
- URL to the product homepage
-
-
Method Details
-
getProductName
Gets the product name- Returns:
- Product name
-
getProductVendor
Gets the product vendor- Returns:
- Product vendor
-
getLicense
Gets the product license- Returns:
- Product license
-
getBuildTime
public long getBuildTime()Gets the build time in millis- Returns:
- Build time in millis
-
getProductVersion
Gets the product version- Returns:
- Product version
-
getHomepage
Gets the URL for the product homepage.- Returns:
- the URL for the product homepage
-