public class AgentVersion
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an agent version.
Modifier and Type | Field and Description |
---|---|
private StackConfigurationManager |
configurationManager
The configuration manager.
|
private java.lang.String |
version
The agent version.
|
Constructor and Description |
---|
AgentVersion() |
Modifier and Type | Method and Description |
---|---|
AgentVersion |
clone() |
boolean |
equals(java.lang.Object obj) |
StackConfigurationManager |
getConfigurationManager()
The configuration manager.
|
java.lang.String |
getVersion()
The agent version.
|
int |
hashCode() |
void |
setConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
|
void |
setVersion(java.lang.String version)
The agent version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentVersion |
withConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
|
AgentVersion |
withVersion(java.lang.String version)
The agent version.
|
private java.lang.String version
The agent version.
private StackConfigurationManager configurationManager
The configuration manager.
public void setVersion(java.lang.String version)
The agent version.
version
- The agent version.public java.lang.String getVersion()
The agent version.
public AgentVersion withVersion(java.lang.String version)
The agent version.
version
- The agent version.public void setConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
configurationManager
- The configuration manager.public StackConfigurationManager getConfigurationManager()
The configuration manager.
public AgentVersion withConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
configurationManager
- The configuration manager.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AgentVersion clone()
clone
in class java.lang.Object