Class FenceAgentServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.FenceAgentServiceImpl
-
- All Implemented Interfaces:
Service
,FenceAgentService
public class FenceAgentServiceImpl extends ServiceImpl implements FenceAgentService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.FenceAgentService
FenceAgentService.GetRequest, FenceAgentService.GetResponse, FenceAgentService.RemoveRequest, FenceAgentService.RemoveResponse, FenceAgentService.UpdateRequest, FenceAgentService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description FenceAgentServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FenceAgentService.GetRequest
get()
Gets details of this fence agent.FenceAgentService.RemoveRequest
remove()
Removes a fence agent for a specific host.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
FenceAgentService.UpdateRequest
update()
Update a fencing-agent.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
FenceAgentServiceImpl
public FenceAgentServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public FenceAgentService.GetRequest get()
Description copied from interface:FenceAgentService
Gets details of this fence agent. [source] ---- GET /ovirt-engine/api/hosts/123/fenceagents/0 ---- And here is sample response: [source,xml] ----apc 1 192.168.1.101 user xxx 9 name1=value1, name2=value2 - Specified by:
get
in interfaceFenceAgentService
-
remove
public FenceAgentService.RemoveRequest remove()
Description copied from interface:FenceAgentService
Removes a fence agent for a specific host. [source] ---- DELETE /ovirt-engine/api/hosts/123/fenceagents/0 ----- Specified by:
remove
in interfaceFenceAgentService
-
update
public FenceAgentService.UpdateRequest update()
Description copied from interface:FenceAgentService
Update a fencing-agent.- Specified by:
update
in interfaceFenceAgentService
-
service
public Service service(String path)
Description copied from interface:FenceAgentService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceFenceAgentService
-
-