public class ProductInfo extends Object
Constructor and Description |
---|
ProductInfo()
Construct a default product info
|
ProductInfo(InputStream resource)
Construct product info object from a resource input stream
|
ProductInfo(String resource)
Construct product info object from a resource name
|
Modifier and Type | Method and Description |
---|---|
void |
assertRequiredCoreVersionPresent()
Assert that the current product is compatible with the version of ehcache available on the classpath
|
String |
getBuildJdk() |
String |
getBuildRevision() |
String |
getBuildTime() |
String |
getName() |
String |
getPatchLevel() |
String |
getRequiredCoreVersion() |
String |
getVersion() |
boolean |
isEnterprise() |
String |
toString()
returns long version of the build string
|
public ProductInfo()
public ProductInfo(String resource)
resource
- public ProductInfo(InputStream resource)
resource
- IOException
public String getName()
public String getVersion()
public String getBuildJdk()
public String getBuildTime()
public String getBuildRevision()
public String getPatchLevel()
public String getRequiredCoreVersion()
public boolean isEnterprise()
public void assertRequiredCoreVersionPresent()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.