jetbrains.buildServer
Class AgentPoolData

java.lang.Object
  extended by jetbrains.buildServer.AgentPoolData

public class AgentPoolData
extends java.lang.Object

This class contains all necessary information to be sent via XmlRpc to remote client about TeamCity agent pool


Field Summary
protected  int myId
           
protected  java.lang.String myName
           
 
Constructor Summary
AgentPoolData(int id, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getId()
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

myId

protected final int myId

myName

protected final java.lang.String myName
Constructor Detail

AgentPoolData

public AgentPoolData(int id,
                     java.lang.String name)
Method Detail

getId

public int getId()

getName

public java.lang.String getName()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object