public class VersionInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static VersionInfo |
from(javax.management.openmbean.CompositeData cd)
For Internal use only, may be removed or deprecated in future.
|
int |
getVersionBuild()
Get the build version of the component.
|
int |
getVersionMajor()
Get the major version of the component.
|
int |
getVersionMinor()
Get the minor version of the component.
|
int |
getVersionUpdate()
Get the update version of the component.
|
java.lang.String |
toString()
Generate a string version of the VersionInfo object in the form
"majorVersion.minorVersion.updateVersion.buildVersion"
|
public int getVersionMajor()
public int getVersionMinor()
public int getVersionUpdate()
public int getVersionBuild()
public java.lang.String toString()
toString
in class java.lang.Object
public static VersionInfo from(javax.management.openmbean.CompositeData cd)
java.lang.IllegalArgumentException
- if CompositeType does not match
or if a null CompositeData is passed.Copyright © Cloud Software Group, Inc. All rights reserved