|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.ProductInfo
public class ProductInfo
Information about this release of the JT Harness test harness.
Constructor Summary | |
---|---|
ProductInfo()
|
Method Summary | |
---|---|
static java.util.Date |
getBuildDate()
The date this product was built. |
static java.lang.String |
getBuildJavaVersion()
The version of Java used to build this product. |
static java.lang.String |
getBuildNumber()
The build number for this product. |
static java.io.File |
getJavaTestClassDir()
Get the entry on the class path which contains the JT Harness harness. |
static java.lang.String |
getMilestone()
The milestone of this product. |
static java.lang.String |
getName()
The name of this product. |
static java.lang.String |
getVersion()
The version of this product. |
static boolean |
isSameVersionOrNewer(java.lang.String ver)
Checks if the version of this product returned by getVersion() method is not older than passed one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProductInfo()
Method Detail |
---|
public static java.lang.String getName()
public static java.lang.String getVersion()
public static boolean isSameVersionOrNewer(java.lang.String ver)
ver
- version to be compared with the current product version
java.lang.IllegalArgumentException
- if version cannot be parsedpublic static java.lang.String getMilestone()
public static java.lang.String getBuildNumber()
public static java.lang.String getBuildJavaVersion()
public static java.util.Date getBuildDate()
public static java.io.File getJavaTestClassDir()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |