public interface OutputExtensionModel<X,T> extends Identifiable
Modifier and Type | Method and Description |
---|---|
boolean |
canRun(EventModel event)
Checks if the outputExtension can execute with the current event
|
X |
generate(EventModel event,
T t)
generates the data for the given Event
|
com.google.common.reflect.TypeToken<T> |
getArgumentType()
returns the Type of the Argument or null if none
|
String |
getPluginId()
Gets the id of the output-plugin the outputExtension belongs to
|
com.google.common.reflect.TypeToken<X> |
getReturnType()
returns the ReturnType of the generic
|
getID, isOwner
boolean canRun(EventModel event)
event
- the event to checkString getPluginId()
X generate(EventModel event, T t)
event
- the event to generate fort
- the optional argumentcom.google.common.reflect.TypeToken<X> getReturnType()
com.google.common.reflect.TypeToken<T> getArgumentType()
Copyright © 2016. All rights reserved.