|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.hq.agent.AgentAPIInfo
public abstract class AgentAPIInfo
A class which handles generic API information, such as version number calculation, etc.
| Constructor Summary | |
|---|---|
AgentAPIInfo(byte majorVersion,
byte minorVersion,
byte bugfixVersion)
Initialize the AgentAPIInfo object with versioning info. |
|
| Method Summary | |
|---|---|
byte |
getBugfixVersion()
Retrieve the bugfix version number component |
byte |
getMajorVersion()
Retrieve the major version number component |
byte |
getMinorVersion()
Retrieve the minor version number component |
int |
getVersion()
Get a single integer representation of the full version. |
boolean |
isCompatible(int otherVersion)
Check to see if another version is compatible with the object containing this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentAPIInfo(byte majorVersion,
byte minorVersion,
byte bugfixVersion)
majorVersion - Major version #minorVersion - Minor version #bugfixVersion - Bugfix version #| Method Detail |
|---|
public byte getMajorVersion()
public byte getMinorVersion()
public byte getBugfixVersion()
public int getVersion()
public boolean isCompatible(int otherVersion)
otherVersion - Version info as obtained via getVersion() in
another APIInfo object.
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||