public interface Environment
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String hostname)
Checks if a given
hostname is a valid hostname for a host in this network environment;
does not guarantee that the host exists in this network environment. |
String |
dcName()
Returns the name of this network environment's datacenter.
|
String |
fullyQualify(String hostname)
Creates a fully qualified hostname for a given unqualified hostname in the network
environment's datacenter.
|
String dcName()
String fullyQualify(String hostname)
hostname - The simple hostname to qualify.boolean contains(String hostname)
hostname is a valid hostname for a host in this network environment;
does not guarantee that the host exists in this network environment.hostname - The simple hostname to check for membership in this network environment.true if the hostname is a valid hostname for this network environment.