Class EventServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.EventServiceImpl
-
- All Implemented Interfaces:
Service
,EventService
public class EventServiceImpl extends ServiceImpl implements EventService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.EventService
EventService.GetRequest, EventService.GetResponse, EventService.RemoveRequest, EventService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description EventServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventService.GetRequest
get()
Get an event.EventService.RemoveRequest
remove()
Removes an event from internal audit log.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
EventServiceImpl
public EventServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public EventService.GetRequest get()
Description copied from interface:EventService
Get an event. An example of getting an event: [source] ---- GET /ovirt-engine/api/events/123 ---- [source,xml] ----Host example.com was added by admin@internal-authz. 42
135 -1 30 oVirt normal - Specified by:
get
in interfaceEventService
-
remove
public EventService.RemoveRequest remove()
Description copied from interface:EventService
Removes an event from internal audit log. An event can be removed by sending following request [source] ---- DELETE /ovirt-engine/api/events/123 ----- Specified by:
remove
in interfaceEventService
-
service
public Service service(String path)
Description copied from interface:EventService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceEventService
-
-