public class EventServiceImpl extends BaseTelemetryServices implements EventService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
EventServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Event |
get(String messageId)
Return a single Event with the given message id
|
List<? extends Event> |
list(EventCriteria eventCriteria)
Return all Events matching the query filters
|
List<? extends Event> |
list(EventCriteria eventCriteria,
int limit)
Return all Events matching the query filters
|
List<String> |
listEventTypes()
Get all event types
|
List<? extends TraitDescription> |
listTraitDescriptions(String eventType)
Return all trait names for an event type
|
List<? extends Trait> |
listTraits(String eventType,
String traitName)
Return all instances of a trait for an event type
|
wrapList
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Event> list(EventCriteria eventCriteria)
list
in interface EventService
eventCriteria
- the event query criteria for filtering resultspublic List<? extends Event> list(EventCriteria eventCriteria, int limit)
list
in interface EventService
eventCriteria
- the event query criteria for filtering resultslimit
- maximum number of samples to be returnedpublic Event get(String messageId)
get
in interface EventService
messageId
- message ID of the Event to be returnedpublic List<String> listEventTypes()
listEventTypes
in interface EventService
public List<? extends TraitDescription> listTraitDescriptions(String eventType)
listTraitDescriptions
in interface EventService
eventType
- event type to filter traits bypublic List<? extends Trait> listTraits(String eventType, String traitName)
listTraits
in interface EventService
eventType
- event type to filter traits bytraitName
- trait to return values forCopyright © 2017. All rights reserved.