Package com.tibco.tibjms.admin
Class VersionInfo
- java.lang.Object
- 
- com.tibco.tibjms.admin.VersionInfo
 
- 
 public class VersionInfo extends java.lang.ObjectThis class represents the parsed version information for the TIBCO Enterprise Message Service components.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VersionInfofrom(javax.management.openmbean.CompositeData cd)For Internal use only, may be removed or deprecated in future.intgetVersionBuild()Get the build version of the component.intgetVersionMajor()Get the major version of the component.intgetVersionMinor()Get the minor version of the component.intgetVersionUpdate()Get the update version of the component.java.lang.StringtoString()Generate a string version of the VersionInfo object in the form "majorVersion.minorVersion.updateVersion.buildVersion"
 
- 
- 
- 
Method Detail- 
getVersionMajorpublic int getVersionMajor() Get the major version of the component.- Returns:
- the major version of the component.
 
 - 
getVersionMinorpublic int getVersionMinor() Get the minor version of the component.- Returns:
- the minor version of the component.
 
 - 
getVersionUpdatepublic int getVersionUpdate() Get the update version of the component.- Returns:
- the update version of the component.
 
 - 
getVersionBuildpublic int getVersionBuild() Get the build version of the component.- Returns:
- the build version of the component.
 
 - 
toStringpublic java.lang.String toString() Generate a string version of the VersionInfo object in the form "majorVersion.minorVersion.updateVersion.buildVersion"- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a string represtation of this VersionInfo.
 
 - 
frompublic static VersionInfo from(javax.management.openmbean.CompositeData cd) For Internal use only, may be removed or deprecated in future.- Returns:
- a VersionInfo object from CompositeData
- Throws:
- java.lang.IllegalArgumentException- if CompositeType does not match or if a null CompositeData is passed.
 
 
- 
 
-