public final class UC4HostName extends UC4ObjectName
| Constructor and Description |
|---|
UC4HostName(java.lang.String name)
Constructs a
UC4HostName using the specified parameters. |
UC4HostName(UC4HostName name)
Constructs a
UC4HostName using the specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isGenericHost()
Returns
true if the name represents a generic group of hosts
but not a single host. |
boolean |
isValid(java.lang.String n)
Tests if the supplied name would be a valid name for an
object in the Automation Engine.
|
containsVariable, containsVariable, getName, isEmpty, toStringpublic UC4HostName(java.lang.String name)
throws InvalidUC4NameException
UC4HostName using the specified parameters.name - Host nameInvalidUC4NameException - if the name is not empty and invalidpublic UC4HostName(UC4HostName name)
UC4HostName using the specified parameters.name - UC4HostNamepublic boolean isValid(java.lang.String n)
UC4ObjectNameisValid in class UC4ObjectNamen - Name to be testedpublic boolean isGenericHost()
true if the name represents a generic group of hosts
but not a single host.public boolean equals(java.lang.Object obj)
equals in class UC4ObjectNamepublic int hashCode()
hashCode in class UC4ObjectName