public final class UC4HostName extends UC4ObjectName
maxLength
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, getAllowedChars, getName, isEmpty, toString
public UC4HostName(java.lang.String name)
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
- UC4HostName
public boolean isValid(java.lang.String n)
UC4ObjectName
isValid
in class UC4ObjectName
n
- 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 UC4ObjectName
public int hashCode()
hashCode
in class UC4ObjectName