Class UcmdbVersion

java.lang.Object
com.hp.ucmdb.api.UcmdbVersion
Direct Known Subclasses:
UcmdbExternalVersion

public class UcmdbVersion extends Object
Created by IntelliJ IDEA. Author: Gali Katz Date: 17/04/12 Time: 14:05 gali.katz@hp.com
  • Constructor Details

    • UcmdbVersion

      public UcmdbVersion(String productName, String ucmdbVersionIncludingServicePack, String buildNumberOfServer, String contentPackVersion, String buildNumberOfCP)
  • Method Details

    • getProductName

      public String getProductName()
      Returns:
      the product name
    • getFullServerVersion

      public String getFullServerVersion()
      Example: 9.05
      Returns:
      the full server version string: ucmdb version + service pack.
    • getServerBuildNumber

      public String getServerBuildNumber()
      Example:10.0.151
      Returns:
      the build number of the server, if available
    • getContentPackBuildNumber

      public String getContentPackBuildNumber()
      Example:10.0.162
      Returns:
      the build number of the CP, if available
    • getContentPackVersion

      public String getContentPackVersion()
      Example: 10.01
      Returns:
      the Content pack version
    • toString

      public String toString()
      Overrides:
      toString in class Object