public class ClusterGlusterHook extends GlusterHook
ClusterGlusterHook providing relation and functional services
to GlusterHook.
| Constructor and Description |
|---|
ClusterGlusterHook(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
Action |
disable(Action action)
Performs disable action.
|
Action |
disable(Action action,
String correlationId)
Performs disable action.
|
Action |
enable(Action action)
Performs enable action.
|
Action |
enable(Action action,
String correlationId)
Performs enable action.
|
Action |
resolve(Action action)
Performs resolve action.
|
Action |
resolve(Action action,
String correlationId)
Performs resolve action.
|
getChecksum, getCluster, getConflicts, getConflictStatus, getContent, getContentType, getGlusterCommand, getServerHooks, getStage, getStatus, isSetChecksum, isSetCluster, isSetConflicts, isSetConflictStatus, isSetContent, isSetContentType, isSetGlusterCommand, isSetServerHooks, isSetStage, isSetStatus, setChecksum, setCluster, setConflicts, setConflictStatus, setContent, setContentType, setGlusterCommand, setServerHooks, setStage, setStatusgetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic ClusterGlusterHook(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic Action resolve(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.resolution_type
[action.host.id|name]
[action.async]
[action.grace_period.expiry]
Actionorg.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 resolve(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.resolution_type
[action.host.id|name]
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.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 enable(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
Actionorg.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 enable(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.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 Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Responseorg.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 Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async -
[true|false]
Responseorg.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 Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
correlationId -
[any string]
async -
[true|false]
Responseorg.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 disable(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
Actionorg.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 disable(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.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