T - the return typepublic abstract class OutputPlugin<T> extends OutputPluginArgument<Object,T>
| Constructor and Description |
|---|
OutputPlugin(Context context,
String id)
creates a new output-plugin with a new id
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getArgument()
returns the argument for the OutputExtensions
|
com.google.common.reflect.TypeToken<Object> |
getArgumentType()
returns the Type of the argument for the OutputExtensions, or null if none
|
abstract void |
renderFinalOutput(List<T> data,
EventModel eventModel)
method that uses the data from the OutputExtensions to generate a final output that will then be rendered.
|
addToEventList, blockingQueueHandling, getEventBlockingQueue, getOutputExtensionList, getReceivingType, getTimeoutLimit, handleFutures, isDone, isRunning, outputExtensionAdded, outputExtensionRemoved, run, stop, terminategetContext, getIDclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetID, isOwnersubmit, submit, submit, submitRun, timeOut, timeOutdebug, debug, error, error, getContextdebug, debug, error, error, fatal, fatal, warn, warnexceptionThrownpublic OutputPlugin(Context context, String id)
context - contextid - the id of the new output-pluginpublic com.google.common.reflect.TypeToken<Object> getArgumentType()
getArgumentType in interface OutputPluginModel<Object,T>getArgumentType in class OutputPluginArgument<Object,T>public Object getArgument()
getArgument in class OutputPluginArgument<Object,T>public abstract void renderFinalOutput(List<T> data, EventModel eventModel)
renderFinalOutput in class OutputPluginArgument<Object,T>data - the data generatedeventModel - the Event which caused the whole thingCopyright © 2016. All rights reserved.