|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HostGroup
| Method Summary | |
|---|---|
void |
addHost(Host aHost)
Add the specified host to this host group. |
java.lang.String |
getDescription()
Returns the description of this HostGroup. |
java.lang.String |
getHostGroupName()
Returns the host group name. |
java.util.Set<Host> |
getHosts()
Returns all host associated with this host zone. |
java.lang.String |
getId()
Returns the host zone id. |
boolean |
removeHost(java.lang.String aHostId)
Remove the specified host to this host group. |
void |
setDescription(java.lang.String aDescription)
Sets the aDescription of this HostGroup. |
| Method Detail |
|---|
java.lang.String getId()
java.lang.String getHostGroupName()
java.util.Set<Host> getHosts()
Host,
Collections.emptySet()
void addHost(Host aHost)
throws java.lang.IllegalArgumentException
aHost - The host to add. This argument must not be null.
java.lang.IllegalArgumentException - Thrown if the specified aHost argument is null.
boolean removeHost(java.lang.String aHostId)
throws java.lang.IllegalArgumentException
aHostId - The host to remove. This argument must not be null.
true if the specified host is succesfully removed, false otherwise.
java.lang.IllegalArgumentException - Thrown if the specified aHost argument is null.java.lang.String getDescription()
HostGroup.
void setDescription(java.lang.String aDescription)
HostGroup.
aDescription - The description of this host group.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||