@Metadata(description="Listener base type",
root=CONFIGURATION)
public class EventProcessor
extends ScriptedConfigurationItem
implements EventHandler
ScriptedConfigurationItem.ProcessHolder<T>, ScriptedConfigurationItem.ResultHolder<T>| Constructor and Description |
|---|
EventProcessor() |
EventProcessor(java.lang.String scriptLocation) |
EventProcessor(java.lang.String eventType,
java.util.List<Store> stores) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEventType() |
java.util.List<Store> |
getStores() |
java.util.Set<Store> |
getUsedStores() |
void |
onReceive(Event event) |
Event |
process(Event event) |
void |
resetUsedStores() |
void |
setEventType(java.lang.String eventType) |
void |
setStores(java.util.List<Store> stores) |
execute, getExecutionLog, getScriptContext, getScriptLocation, getScriptPrelude, setScriptLocationcompareTo, equals, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$token, setId, setProperty, setSyntheticProperties, setType, toStringpublic EventProcessor()
public EventProcessor(java.lang.String scriptLocation)
public EventProcessor(java.lang.String eventType,
java.util.List<Store> stores)
public void onReceive(Event event)
onReceive in interface EventHandlerpublic java.lang.String getEventType()
public void setEventType(java.lang.String eventType)
public java.util.List<Store> getStores()
public void setStores(java.util.List<Store> stores)
public java.util.Set<Store> getUsedStores()
public void resetUsedStores()