com.plumtree.remote
Class Version

java.lang.Object
  extended bycom.plumtree.remote.Version

public class Version
extends java.lang.Object

Provides information about the EDK build version, such as the major version number and the minor version number of the build. The printable string includes additional information, such as the specific changelist number and the date of the build.


Method Summary
static Version getEDKVersion()
          Returns a Version object that represents the current EDK version.
 int getMajorVersionNumber()
          Returns the EDK major version number.
 int getMinorVersionNumber()
          Returns the EDK minor version number.
 int getServicePackVersionNumber()
          Returns the EDK service pack version number.
 java.lang.String toString()
          Returns the EDK version as a printable string, including the major, minor, and service pack version number, the source code changelist number, and the date of the build.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getEDKVersion

public static Version getEDKVersion()
Returns a Version object that represents the current EDK version. A printable format can be obtained using the toString method.

Returns:
a Version object that represents the current EDK version.

getMajorVersionNumber

public int getMajorVersionNumber()
Returns the EDK major version number. A full EDK version label has this format:

"major.minor.servicepack_changelist".

Returns:
returns the EDK major version number.

getMinorVersionNumber

public int getMinorVersionNumber()
Returns the EDK minor version number. A full EDK version label has this format:

"major.minor.servicepack_changelist".

Returns:
returns the EDK minor version number.

getServicePackVersionNumber

public int getServicePackVersionNumber()
Returns the EDK service pack version number. A full EDK version label has this format:

"major.minor.servicepack_changelist".

Returns:
returns the EDK service pack version number.

toString

public java.lang.String toString()
Returns the EDK version as a printable string, including the major, minor, and service pack version number, the source code changelist number, and the date of the build.

The string will have the following format:

"major.minor.servicepack_changelist (date of build)"

For example, "5.2.0_181354 (May 20 2005)"

Returns:
returns the EDK as a printable string.


For additional information on the IDK, including tutorials, blogs, code samples and more,see the AquaLogic User Interaction Developer Center on BEA dev2dev.

Copyright ©2007 BEA Systems, Inc. All Rights Reserved.