public class DefaultServiceEventResolver extends Object implements StatisticsServiceEventResolver<Event>
| Constructor and Description |
|---|
DefaultServiceEventResolver() |
| Modifier and Type | Method and Description |
|---|---|
Event |
getEvent() |
Map<String,Object> |
resolve()
Resolves the the request to Elasticsearch format
|
void |
setEvent(Event payload)
Sets the payload to the Resolver class.
|
void |
setHandlers(Map<String,StatisticsServiceEventHandler<?>> handlers)
before the processing the Handlers can be added to the resolver via spring xml
|
public Map<String,Object> resolve()
StatisticsServiceEventResolverresolve in interface StatisticsServiceEventResolver<Event>public void setEvent(Event payload)
StatisticsServiceEventResolverStatisticsServiceEventResolver.resolve() method is called.setEvent in interface StatisticsServiceEventResolver<Event>payload - the eventpublic Event getEvent()
getEvent in interface StatisticsServiceEventResolver<Event>public void setHandlers(Map<String,StatisticsServiceEventHandler<?>> handlers)
StatisticsServiceEventResolversetHandlers in interface StatisticsServiceEventResolver<Event>handlers - the handlersCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.