com.starteam
Class BuildNumber

java.lang.Object
  extended by com.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 14.0, Build 21".


Method Summary
static int getBranchNumber()
          Gets the internal development branch number.
static int getBuild()
          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 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 14).

getMinorVersion

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

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

getBranchNumber

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

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

getBuild

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

Returns:
The product build number (currently 21).

getVersionString

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

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

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, "14.0.2.21").

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 14.0, Build 21").


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.