public class HostDescription extends AbstractDescription implements Serializable
| Constructor and Description |
|---|
HostDescription() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkEquivalent(HostDescription hd)
Verifies that the given host description is equivalent to this one.
|
protected static void |
configure(TestConfig config)
Creates host descriptions from the host parameters in the test
configuration.
|
protected HostDescription |
copy() |
String |
getAntHome() |
Integer |
getBootstrapPort() |
String |
getCanonicalHostName()
Returns the canonical name of the host for this
HostDescription. |
String |
getExtraTestDir() |
char |
getFileSep() |
String |
getGemFireHome() |
String |
getHostName() |
String |
getJavaHome() |
String |
getJavaVendor() |
String |
getJProbeHome() |
String |
getName() |
protected static String |
getOptionalProperty(String propertyName) |
HostHelper.OSType |
getOSType() |
char |
getPathSep() |
String |
getResourceDir() |
String |
getTestDir() |
String |
getUserDir() |
protected void |
setAntHome(String dir) |
protected void |
setBootstrapPort(Integer i) |
protected void |
setCanonicalHostName(String name)
Sets the canonical name of the host for this
HostDescription. |
protected void |
setExtraTestDir(String dir) |
protected void |
setGemFireHome(String dir) |
protected void |
setHostName(String name) |
protected void |
setJavaHome(String dir) |
protected void |
setJavaVendor(String vendor) |
protected void |
setJProbeHome(String dir) |
protected void |
setName(String name) |
protected void |
setOSType(HostHelper.OSType os) |
protected void |
setResourceDir(String dir) |
protected void |
setTestDir(String dir) |
protected void |
setUserDir(String dir) |
SortedMap |
toSortedMap()
Returns a sorted map of description fields and their values.
|
String |
toString()
Returns a string representing the sorted field-value map with each entry
on a separate line, indented if necessary to fit within parent descriptions
for ease of reading in a log file.
|
addProperties, asList, convertPrm, convertPrmDefault, getBooleanFor, getClass, getClassname, getInstance, getIntegerFor, getNonnegativeIntegerFor, getParametersAndDefaults, getPath, getSSLDescription, loadClass, parseMethodprotected HostDescription copy()
public String getName()
protected void setName(String name)
public String getHostName()
protected void setHostName(String name)
protected void setCanonicalHostName(String name)
HostDescription.public String getCanonicalHostName()
HostDescription.public HostHelper.OSType getOSType()
protected void setOSType(HostHelper.OSType os)
public char getFileSep()
public char getPathSep()
public Integer getBootstrapPort()
protected void setBootstrapPort(Integer i)
public String getGemFireHome()
protected void setGemFireHome(String dir)
public String getUserDir()
protected void setUserDir(String dir)
public String getResourceDir()
protected void setResourceDir(String dir)
public String getTestDir()
$JTESTS).protected void setTestDir(String dir)
public String getExtraTestDir()
protected void setExtraTestDir(String dir)
public String getJavaHome()
protected void setJavaHome(String dir)
public String getJavaVendor()
protected void setJavaVendor(String vendor)
public String getJProbeHome()
protected void setJProbeHome(String dir)
public String getAntHome()
protected void setAntHome(String dir)
public SortedMap toSortedMap()
AbstractDescriptiontoSortedMap in class AbstractDescriptionpublic String toString()
AbstractDescriptiontoString in class AbstractDescriptionprotected static void configure(TestConfig config)
protected void checkEquivalent(HostDescription hd)
HydraConfigException - if the host descriptions are not equivalent.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.