public class InstanceTypeWatchDogs extends CollectionDecorator<WatchDog,WatchDogs,InstanceTypeWatchDog>
InstanceTypeWatchDogs providing relation and functional services
to WatchDogs.
| Constructor and Description |
|---|
InstanceTypeWatchDogs(HttpProxyBroker proxy,
InstanceType parent) |
| Modifier and Type | Method and Description |
|---|---|
InstanceTypeWatchDog |
add(WatchDog watchdog)
Adds WatchDog object.
|
InstanceTypeWatchDog |
get(UUID id)
Fetches InstanceTypeWatchDog object by id.
|
InstanceTypeWatchDog |
getById(String id)
Fetches InstanceTypeWatchDog object by id.
|
List<InstanceTypeWatchDog> |
list()
Lists InstanceTypeWatchDog objects.
|
getpublic InstanceTypeWatchDogs(HttpProxyBroker proxy, InstanceType parent)
proxy - HttpProxyBrokerparent - InstanceTypepublic List<InstanceTypeWatchDog> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<WatchDog,WatchDogs,InstanceTypeWatchDog>InstanceTypeWatchDogorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public InstanceTypeWatchDog get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<WatchDog,WatchDogs,InstanceTypeWatchDog>id - entity idInstanceTypeWatchDogorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public InstanceTypeWatchDog getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<WatchDog,WatchDogs,InstanceTypeWatchDog>id - entity idInstanceTypeWatchDogorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public InstanceTypeWatchDog add(WatchDog watchdog) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
watchdog - WatchDogInstanceTypeWatchDogorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0