Class EventSubscriptionServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.EventSubscriptionServiceImpl
-
- All Implemented Interfaces:
Service
,EventSubscriptionService
public class EventSubscriptionServiceImpl extends ServiceImpl implements EventSubscriptionService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.EventSubscriptionService
EventSubscriptionService.GetRequest, EventSubscriptionService.GetResponse, EventSubscriptionService.RemoveRequest, EventSubscriptionService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description EventSubscriptionServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventSubscriptionService.GetRequest
get()
Gets the information about the event-subscription.EventSubscriptionService.RemoveRequest
remove()
Removes the event-subscription from the system.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
-
EventSubscriptionServiceImpl
public EventSubscriptionServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public EventSubscriptionService.GetRequest get()
Description copied from interface:EventSubscriptionService
Gets the information about the event-subscription. For example to retrieve the information about the subscription of user '123' to the event 'vm_console_detected': .... GET /ovirt-engine/api/users/123/vm_console_detected .... [source,xml] ----vm_console_detected smtp [email protected] - Specified by:
get
in interfaceEventSubscriptionService
-
remove
public EventSubscriptionService.RemoveRequest remove()
Description copied from interface:EventSubscriptionService
Removes the event-subscription from the system. For example to remove user 123's subscription to `vm_console_detected` event: .... DELETE /ovirt-engine/api/users/123/vm_console_detected ....- Specified by:
remove
in interfaceEventSubscriptionService
-
service
public Service service(String path)
Description copied from interface:EventSubscriptionService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceEventSubscriptionService
-
-