com.starbase.starteam
Class BuildNumber

java.lang.Object
  |
  +--com.starbase.starteam.BuildNumber

public class BuildNumber
extends java.lang.Object

A simple class that provides access to version information for the StarTeam SDK. The current version is "StarTeam SDK 10.4, Build 36".


Method Summary
static java.lang.String currentBuild()
          Deprecated.  
static java.lang.String currentRelease()
          Deprecated.  
static int getBranchNumber()
          Gets the internal development branch number.
static int getBuildNumber()
          Gets the product build number.
static java.lang.String getBuildString()
          Gets the full product version string.
static java.lang.String getDisplayString()
          Gets a display string showing the full product name, version and build number.
static int getDotRelease()
          Deprecated.  
static int getMajorVersion()
          Gets the product major version number.
static int getMinorVersion()
          Gets the product minor version number.
static java.lang.String getProductName()
          Gets the product name.
static java.lang.String getVersionString()
          Gets the product version string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProductName

public static java.lang.String getProductName()
Gets the product name.

Returns:
The product name (currently "StarTeam SDK").

getMajorVersion

public static int getMajorVersion()
Gets the product major version number.

Returns:
The product major version number (currently 10).

getMinorVersion

public static int getMinorVersion()
Gets the product minor version number.

Returns:
The product minor version number (currently 4).

getDotRelease

public static int getDotRelease()
Deprecated.  

No longer used.

Returns:
0

getBranchNumber

public static int getBranchNumber()
Gets the internal development branch number.

Returns:
The internal development branch number (currently 8).

getBuildNumber

public static int getBuildNumber()
Gets the product build number.

Returns:
The product build number (currently 36).

getVersionString

public static java.lang.String getVersionString()
Gets the product version string.

Returns:
The product version string, showing major and minor version numbers (currently, "10.4").

getBuildString

public static java.lang.String getBuildString()
Gets the full product version string.

Returns:
The full product version string, showing major version, minor version, internal development branch and build number (currently, "10.4.8.36").

getDisplayString

public static java.lang.String getDisplayString()
Gets a display string showing the full product name, version and build number.

Returns:
A display string showing the full product name, version and build number (currently "StarTeam SDK 10.4, Build 36").

currentBuild

public static java.lang.String currentBuild()
Deprecated.  

Gets a string describing the current product build (currently "10.4.36"). Similar to getBuildString(), except that the third part (internal development branch) is not included. Provided for backward compatibilty only.

Returns:
A string describing the current product build.

currentRelease

public static java.lang.String currentRelease()
Deprecated.  

Same as getVersionString(). Provided for backward compatibility.

Returns:
A string describing the current product major and minor version numbers.
See Also:
BuildNumber.getVersionString()


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.