|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Provides access to the HostGroups stored in the Collage database. Provides information pertaining to those HostGroups.
| Method Summary | |
HostGroup |
getHostGroup(java.lang.String hgName)
Returns a specific HostGroup; performs shallow retrieval of
HostGroup, where only Name/Description of HostGroups is retrieved |
HostGroup |
getHostGroup(java.lang.String hgName,
boolean deep)
Returns a specific HostGroup; if instructed, performs deep retrieval
of HostGroup, which includes all Hosts, and their HostStatus and
ServiceStatuses |
java.util.Collection |
getHostGroups()
Returns all HostGroups currently stored in the Collage database. |
java.util.Collection |
getHostsForHostGroup(java.lang.String hostGroup)
Returns all Hosts for the given HostGroup. |
java.util.Collection |
getServicesForHostGroup(java.lang.String hostGroup)
Returns all Services for the given HostGroup. |
| Method Detail |
public java.util.Collection getServicesForHostGroup(java.lang.String hostGroup)
throws CollageException
ServiceStatus.
hostGroup - Name of the HostGroup. Limit the query to filter by
this host group.
ServiceStatus objects for the given
HostGroup.
CollageException - when an error occurs.
public java.util.Collection getHostsForHostGroup(java.lang.String hostGroup)
throws CollageException
Host.
hostGroup - Name of the HostGroup. Limit the query to filter
by this HostGroup.
HostStatus objects for the given
HostGroup.
CollageException - when an error occurs.
public java.util.Collection getHostGroups()
throws CollageException
HostGroup.
HostGroup objects
currently in the system.
CollageException - when an error occurs.
public HostGroup getHostGroup(java.lang.String hgName)
throws CollageException
HostGroup; performs shallow retrieval of
HostGroup, where only Name/Description of HostGroups is retrieved
hgName - The HostGroup to find
CollageException
public HostGroup getHostGroup(java.lang.String hgName,
boolean deep)
throws CollageException
HostGroup; if instructed, performs deep retrieval
of HostGroup, which includes all Hosts, and their HostStatus and
ServiceStatuses
hgName - The HostGroup to finddeep - Whether to perform a deep retrieval
CollageException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||