public class ClusterGlusterVolumes extends CollectionDecorator<GlusterVolume,GlusterVolumes,ClusterGlusterVolume>
ClusterGlusterVolumes providing relation and functional services
to GlusterVolumes.
| Constructor and Description |
|---|
ClusterGlusterVolumes(HttpProxyBroker proxy,
Cluster parent) |
| Modifier and Type | Method and Description |
|---|---|
ClusterGlusterVolume |
add(GlusterVolume glustervolume)
Adds GlusterVolume object.
|
ClusterGlusterVolume |
add(GlusterVolume glustervolume,
Boolean force)
Adds GlusterVolume object.
|
ClusterGlusterVolume |
add(GlusterVolume glustervolume,
Boolean force,
String expect)
Adds GlusterVolume object.
|
ClusterGlusterVolume |
add(GlusterVolume glustervolume,
Boolean force,
String expect,
String correlationId)
Adds GlusterVolume object.
|
ClusterGlusterVolume |
get(UUID id)
Fetches ClusterGlusterVolume object by id.
|
ClusterGlusterVolume |
getById(String id)
Fetches ClusterGlusterVolume object by id.
|
List<ClusterGlusterVolume> |
list()
Lists ClusterGlusterVolume objects.
|
List<ClusterGlusterVolume> |
list(String query,
Boolean caseSensitive)
Lists ClusterGlusterVolume objects.
|
getpublic ClusterGlusterVolumes(HttpProxyBroker proxy, Cluster parent)
proxy - HttpProxyBrokerparent - Clusterpublic List<ClusterGlusterVolume> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<GlusterVolume,GlusterVolumes,ClusterGlusterVolume>ClusterGlusterVolumeorg.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 ClusterGlusterVolume get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<GlusterVolume,GlusterVolumes,ClusterGlusterVolume>id - entity idClusterGlusterVolumeorg.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 ClusterGlusterVolume getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<GlusterVolume,GlusterVolumes,ClusterGlusterVolume>id - entity idClusterGlusterVolumeorg.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<ClusterGlusterVolume> list(String query, Boolean caseSensitive) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
query -
[search query]
caseSensitive -
[true|false]
ClusterGlusterVolumeorg.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 ClusterGlusterVolume add(GlusterVolume glustervolume) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glustervolume - GlusterVolume
gluster_volume.name
gluster_volume.volume_type
gluster_volume.bricks.brick
[gluster_volume.transport_types]
[gluster_volume.replica_count]
[gluster_volume.stripe_count]
[gluster_volume.options.option]
ClusterGlusterVolumeorg.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 ClusterGlusterVolume add(GlusterVolume glustervolume, Boolean force) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glustervolume - GlusterVolume
gluster_volume.name
gluster_volume.volume_type
gluster_volume.bricks.brick
[gluster_volume.transport_types]
[gluster_volume.replica_count]
[gluster_volume.stripe_count]
[gluster_volume.options.option]
force -
[true|false]
ClusterGlusterVolumeorg.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 ClusterGlusterVolume add(GlusterVolume glustervolume, Boolean force, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glustervolume - GlusterVolume
gluster_volume.name
gluster_volume.volume_type
gluster_volume.bricks.brick
[gluster_volume.transport_types]
[gluster_volume.replica_count]
[gluster_volume.stripe_count]
[gluster_volume.options.option]
expect -
[201-created]
force -
[true|false]
ClusterGlusterVolumeorg.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 ClusterGlusterVolume add(GlusterVolume glustervolume, Boolean force, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glustervolume - GlusterVolume
gluster_volume.name
gluster_volume.volume_type
gluster_volume.bricks.brick
[gluster_volume.transport_types]
[gluster_volume.replica_count]
[gluster_volume.stripe_count]
[gluster_volume.options.option]
expect -
[201-created]
correlationId -
[any string]
force -
[true|false]
ClusterGlusterVolumeorg.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