com.sun.javatest
Class ProductInfo

java.lang.Object
  extended by com.sun.javatest.ProductInfo

public class ProductInfo
extends java.lang.Object

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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductInfo

public ProductInfo()
Method Detail

getName

public static java.lang.String getName()
The name of this product.

Returns:
a string identifying the name of this product.

getVersion

public static java.lang.String getVersion()
The version of this product.

Returns:
a string identifying the version of this product.

getMilestone

public static java.lang.String getMilestone()
The milestone of this product.

Returns:
a string identifying the milestone of this product.

getBuildNumber

public static java.lang.String getBuildNumber()
The build number for this product.

Returns:
a string identifying the build number of this product.

getBuildJavaVersion

public static java.lang.String getBuildJavaVersion()
The version of Java used to build this product.

Returns:
a string aidentifying a version of Java used to build this product.

getBuildDate

public static java.util.Date getBuildDate()
The date this product was built.

Returns:
A string identifying the date on which this product was built. Null will be returned if no build data is available.

getJavaTestClassDir

public static java.io.File getJavaTestClassDir()
Get the entry on the class path which contains the JT Harness harness. This may be a classes directory or javatest.jar.

Returns:
the entry on the class path which contains the JT Harness harness.


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.