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 |
getBuildHostname() |
String |
getBuildJdk() |
String |
getBuildRevision() |
String |
getBuildTime() |
String |
getBuiltBy() |
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 getBuiltBy()
public String getBuildHostname()
public String getBuildJdk()
public String getBuildTime()
public String getBuildRevision()
public String getPatchLevel()
public String getRequiredCoreVersion()
public boolean isEnterprise()
public void assertRequiredCoreVersionPresent()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.