Package org.forgerock.openig.util
Class ProductInfo
java.lang.Object
org.forgerock.openig.util.ProductInfo
Utility class to retrieve product information.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic ProductInfoempty()Create aProductInfowithout any information.Returns the branch name.getName()Returns the product name.Returns the revision.Returns the product short name.longReturns the timestamp.Returns the product version.static ProductInfoInitialise the product info. 
- 
Method Details
- 
init
Initialise the product info.- Parameters:
 productInfoUrl- The URL where to find the JSON file.- Returns:
 - The Product info.
 
 - 
empty
Create aProductInfowithout any information.- Returns:
 - an empty 
ProductInfoinstance. 
 - 
getBranch
Returns the branch name.- Returns:
 - the branch name.
 
 - 
getName
Returns the product name.- Returns:
 - the product name.
 
 - 
getRevision
Returns the revision.- Returns:
 - the revision.
 
 - 
getShortName
Returns the product short name.- Returns:
 - the product short name.
 
 - 
getTimeStamp
public long getTimeStamp()Returns the timestamp.- Returns:
 - the timestamp.
 
 - 
getVersion
Returns the product version.- Returns:
 - the product version.
 
 
 -