public interface EventService extends RestService
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
|
List<? extends Event> list(EventCriteria eventCriteria)
eventCriteria
- the event query criteria for filtering resultsList<? extends Event> list(EventCriteria eventCriteria, int limit)
eventCriteria
- the event query criteria for filtering resultslimit
- maximum number of samples to be returnedEvent get(String messageId)
messageId
- message ID of the Event to be returnedList<? extends TraitDescription> listTraitDescriptions(String eventType)
eventType
- event type to filter traits byCopyright © 2017. All rights reserved.