public class DataCenterClusterGlusterVolumeGlusterBricks extends CollectionDecorator<GlusterBrick,GlusterBricks,DataCenterClusterGlusterVolumeGlusterBrick>
DataCenterClusterGlusterVolumeGlusterBricks providing relation and functional services
to GlusterBricks.
| Constructor and Description |
|---|
DataCenterClusterGlusterVolumeGlusterBricks(HttpProxyBroker proxy,
DataCenterClusterGlusterVolume parent) |
| Modifier and Type | Method and Description |
|---|---|
Action |
activate(Action action)
Performs activate action.
|
DataCenterClusterGlusterVolumeGlusterBrick |
add(GlusterBrick glusterbrick)
Adds GlusterBrick object.
|
DataCenterClusterGlusterVolumeGlusterBrick |
get(UUID id)
Fetches DataCenterClusterGlusterVolumeGlusterBrick object by id.
|
DataCenterClusterGlusterVolumeGlusterBrick |
getById(String id)
Fetches DataCenterClusterGlusterVolumeGlusterBrick object by id.
|
List<DataCenterClusterGlusterVolumeGlusterBrick> |
list()
Lists DataCenterClusterGlusterVolumeGlusterBrick objects.
|
Action |
migrate(Action action)
Performs migrate action.
|
Action |
stopmigrate(Action action)
Performs stopmigrate action.
|
getpublic DataCenterClusterGlusterVolumeGlusterBricks(HttpProxyBroker proxy, DataCenterClusterGlusterVolume parent)
proxy - HttpProxyBrokerparent - DataCenterClusterGlusterVolumepublic List<DataCenterClusterGlusterVolumeGlusterBrick> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<GlusterBrick,GlusterBricks,DataCenterClusterGlusterVolumeGlusterBrick>DataCenterClusterGlusterVolumeGlusterBrickorg.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 DataCenterClusterGlusterVolumeGlusterBrick get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<GlusterBrick,GlusterBricks,DataCenterClusterGlusterVolumeGlusterBrick>id - entity idDataCenterClusterGlusterVolumeGlusterBrickorg.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 DataCenterClusterGlusterVolumeGlusterBrick getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<GlusterBrick,GlusterBricks,DataCenterClusterGlusterVolumeGlusterBrick>id - entity idDataCenterClusterGlusterVolumeGlusterBrickorg.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 Action activate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - ActionActionorg.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 Action stopmigrate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - ActionActionorg.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 Action migrate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - ActionActionorg.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 DataCenterClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks - GlusterBricksDataCenterClusterGlusterVolumeGlusterBrickorg.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