|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HostGroupService
| Method Summary | |
|---|---|
Host |
getHost(java.lang.String aHostIP,
boolean createWhenNotExists)
Returns the host given its host IP. |
HostGroup |
getHostGroup(java.lang.String aHostGroupName,
boolean createWhenNotExists)
Returns the host group given its host group name. |
java.util.List<HostGroup> |
getHostGroups()
Returns all the host groups assocated to this service. |
java.util.List<Host> |
getHosts()
Returns all the host associated to this host group service. |
java.util.List<Host> |
getOrphanHosts()
Returns all hosts that are associated to this host group service but does not have any HostGroups. |
boolean |
removeHost(java.lang.String anId)
Remove host given the host id. |
boolean |
removeHostGroup(java.lang.String anID)
Removes host group given the host group id. |
| Method Detail |
|---|
HostGroup getHostGroup(java.lang.String aHostGroupName,
boolean createWhenNotExists)
throws java.lang.IllegalArgumentException
aHostGroupName - The host group name. This argument must not be null.createWhenNotExists - Set to true to create host group when not found.
HostGroup given the specified aHostGroupName.
java.lang.IllegalArgumentException - Thrown if the specified aHostGroupName argument is null.
Host getHost(java.lang.String aHostIP,
boolean createWhenNotExists)
throws java.lang.IllegalArgumentException
Host if not found.
aHostIP - The host group name. This argument must not be null.createWhenNotExists - A boolean indicator to create the specified host if it does not exists.
hostGroupName.
java.lang.IllegalArgumentException - Thrown if the specified hostGroupName argument is null.java.util.List<HostGroup> getHostGroups()
java.util.List<Host> getHosts()
java.util.List<Host> getOrphanHosts()
boolean removeHostGroup(java.lang.String anID)
throws java.lang.IllegalArgumentException
anID - The host group id. This argument must not be null.
true if the object is removed.
java.lang.IllegalArgumentException - Thrown if the anID argument is null.
boolean removeHost(java.lang.String anId)
throws java.lang.IllegalArgumentException
anId - The host id. This argument must not be null.
true if the host is removed.
java.lang.IllegalArgumentException - Thrown if the specified anId argument is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||