public static class AgentHelper.Endpoint extends Object implements Serializable
| Type | Property and Description |
|---|---|
Properties |
to
Returns the endpoint info as a properties object containing a single
property with the test-wide unique key equal to the agent endpoint id
and value equal to
toString(). |
| Constructor and Description |
|---|
Endpoint(String name,
int vmid,
String host,
String addr,
int port,
String ds)
Creates an endpoint for an agent.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddr()
Returns the agent addr.
|
String |
getDistributedSystemName()
Returns the agent distributed system name.
|
String |
getHost()
Returns the agent host.
|
String |
getId()
Returns the unique agent logical endpoint ID.
|
String |
getName()
Returns the agent logical VM name.
|
int |
getPort()
Returns the agent port.
|
int |
getVmid()
Returns the agent logical VM ID.
|
int |
hashCode() |
void |
record()
Records agent information in a properties file for use when manually
generating GUI tests.
|
Properties |
toProperty()
Returns the endpoint info as a properties object containing a single
property with the test-wide unique key equal to the agent endpoint id
and value equal to
toString(). |
String |
toString()
Returns the endpoint info as a string that can be parsed on = and ,.
|
public Properties toProperty
toString().public Endpoint(String name, int vmid, String host, String addr, int port, String ds)
name - the logical hydra client VM name from ClientPrms.names found via the ClientPrms.CLIENT_NAME_PROPERTY system property.vmid - the logical hydra client VM ID found via RemoteTestModule.getMyVmid().host - the agent host.addr - the agent address.port - the agent port.ds - the agent distributed system name.public String getId()
public String getName()
public int getVmid()
public String getHost()
public String getAddr()
public int getPort()
public String getDistributedSystemName()
public Properties toProperty()
toString().public void record()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.