public class DataCenterClusterGlusterHook extends GlusterHook
DataCenterClusterGlusterHook providing relation and functional services
to GlusterHook.
| Constructor and Description |
|---|
DataCenterClusterGlusterHook(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
Response |
delete()
Deletes object.
|
Action |
disable(Action action)
Performs disable action.
|
Action |
enable(Action action)
Performs enable action.
|
Action |
resolve(Action action)
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 DataCenterClusterGlusterHook(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic Action resolve(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 enable(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 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 Action disable(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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0