|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.execution.local.util.AgentControllerDescriptor
The agent controller descriptor class wraps a node instance and queries it for agent controller metadata as required. Information such as agent controller version can be discovered.
| Constructor Summary | |
|---|---|
AgentControllerDescriptor(org.eclipse.hyades.internal.execution.local.control.Node node)
Constructs an agent controller descriptor object, used to gather metdata about the agent controller such as version |
|
| Method Summary | |
|---|---|
java.lang.String |
getProperty(java.lang.String name,
java.lang.String type)
Retrieves a general property from the agent controller, given the name and type |
java.lang.String |
getVersion()
Retrieves the version of the agent controller identified by the node instance argument |
boolean |
isVersionAtLeast(java.lang.String lowerLimitInclusive)
Determines if the agent controller version is at least the specified lower limit inclusive value |
boolean |
isVersionAtMost(java.lang.String upperLimitInclusive)
Determines if version is less than or equal to the upper limit inclusive value |
boolean |
isVersionEqual(java.lang.String version)
Indicates if the version of the agent controller is exactly equal to the version passed in as an argument |
boolean |
isVersionWithin(java.lang.String lowerLimitInclusive,
java.lang.String upperLimitInclusive)
Indicates if the version of the agent controller is at least the lower limit version and at most the upper limit version inclusive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AgentControllerDescriptor(org.eclipse.hyades.internal.execution.local.control.Node node)
node - the node to query| Method Detail |
public java.lang.String getProperty(java.lang.String name,
java.lang.String type)
IAgentControllerDescriptor
getProperty in interface IAgentControllerDescriptorname - the name of the property such as 'version'type - the type of the value
public java.lang.String getVersion()
IAgentControllerDescriptor
getVersion in interface IAgentControllerDescriptorpublic boolean isVersionAtLeast(java.lang.String lowerLimitInclusive)
IAgentControllerDescriptor
isVersionAtLeast in interface IAgentControllerDescriptorlowerLimitInclusive - the version is must at least be
public boolean isVersionAtMost(java.lang.String upperLimitInclusive)
IAgentControllerDescriptor
isVersionAtMost in interface IAgentControllerDescriptorupperLimitInclusive - the maximum version
public boolean isVersionEqual(java.lang.String version)
IAgentControllerDescriptor
isVersionEqual in interface IAgentControllerDescriptorversion - the version that the agent controller must match
public boolean isVersionWithin(java.lang.String lowerLimitInclusive,
java.lang.String upperLimitInclusive)
IAgentControllerDescriptor
isVersionWithin in interface IAgentControllerDescriptorlowerLimitInclusive - the minimum versionupperLimitInclusive - the maximum version
|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||