Package io.guise.framework.platform
Interface Product
-
- All Known Subinterfaces:
ClientProduct
,WebUserAgentProduct
- All Known Implementing Classes:
AbstractBrandedProduct
,AbstractProduct
,DefaultProduct
,DefaultWebUserAgentProduct
public interface Product
The identification of a product, such as a user agent or a plugin, on the platform.- Author:
- Garret Wilson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getID()
java.lang.String
getName()
java.lang.String
getVersion()
double
getVersionNumber()
int[]
getVersionNumbers()
-
-
-
Method Detail
-
getID
java.lang.String getID()
- Returns:
- The identifying string of the product, or
null
if the ID is not known.
-
getName
java.lang.String getName()
- Returns:
- The canonical name of the product, or
null
if the name is not known.
-
getVersion
java.lang.String getVersion()
- Returns:
- The version string provided by the product, or
null
if there is no string version of the product.
-
getVersionNumber
double getVersionNumber()
- Returns:
- The version number provided by the product, or
Double.NaN
if there is no version number of the product.
-
getVersionNumbers
int[] getVersionNumbers()
- Returns:
- The version number components provided by the product, or
null
if there are no version number components of the product.
-
-