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.
|
Action |
activate(Action action,
Boolean async)
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.
|
List<DataCenterClusterGlusterVolumeGlusterBrick> |
list(Integer max)
Lists DataCenterClusterGlusterVolumeGlusterBrick objects.
|
Action |
migrate(Action action)
Performs migrate action.
|
Action |
migrate(Action action,
Boolean async)
Performs migrate action.
|
Action |
stopmigrate(Action action)
Performs stopmigrate action.
|
Action |
stopmigrate(Action action,
Boolean async)
Performs stopmigrate action.
|
get
public 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>
DataCenterClusterGlusterVolumeGlusterBrick
org.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 idDataCenterClusterGlusterVolumeGlusterBrick
org.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 idDataCenterClusterGlusterVolumeGlusterBrick
org.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
- Action
Action
org.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, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
async
- [true|false]
Action
org.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
- GlusterBricks
DataCenterClusterGlusterVolumeGlusterBrick
org.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 List<DataCenterClusterGlusterVolumeGlusterBrick> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
DataCenterClusterGlusterVolumeGlusterBrick
org.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
- Action
Action
org.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, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
async
- [true|false]
Action
org.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
- Action
Action
org.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, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
async
- [true|false]
Action
org.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