public interface StatisticsServiceEventResolver<T extends Event>
| Modifier and Type | Method and Description |
|---|---|
T |
getEvent() |
java.util.Map<java.lang.String,java.lang.Object> |
resolve()
Resolves the the request to Elasticsearch format
|
void |
setEvent(T event)
Sets the payload to the Resolver class.
|
void |
setHandlers(java.util.Map<java.lang.String,StatisticsServiceEventHandler<?>> handlers)
before the processing the Handlers can be added to the resolver via spring xml
|
java.util.Map<java.lang.String,java.lang.Object> resolve()
void setHandlers(java.util.Map<java.lang.String,StatisticsServiceEventHandler<?>> handlers)
handlers - the handlersvoid setEvent(T event)
resolve() method is called.event - the eventT getEvent()
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.