org.rhq.core.clientapi.server.core
Class AgentVersion

java.lang.Object
  extended by org.rhq.core.clientapi.server.core.AgentVersion
All Implemented Interfaces:
Serializable

public class AgentVersion
extends Object
implements Serializable

Identifies the version of an agent.

See Also:
Serialized Form

Constructor Summary
AgentVersion(String version, String build)
           
 
Method Summary
 String getBuild()
          Identifies the specific build of the agent; this is typically a source code control system revision number, such as "10934".
 String getVersion()
          The version of the agent, such as "1.0.0.GA".
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentVersion

public AgentVersion(String version,
                    String build)
Method Detail

getVersion

public String getVersion()
The version of the agent, such as "1.0.0.GA".

Returns:
agent version

getBuild

public String getBuild()
Identifies the specific build of the agent; this is typically a source code control system revision number, such as "10934".

Returns:
agent build

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.