public interface Output
Modifier and Type | Method and Description |
---|---|
void |
addOutputExtension(OutputExtensionModel outputExtension)
adds output extension to desired outputPlugin
adds output extension to desired outputPlugin, so that the output-plugin can start and stop the outputExtension
task as needed.
|
void |
addOutputPlugin(OutputPluginModel outputPlugin)
adds outputPlugin to outputPluginList, starts a new thread for the outputPlugin, and stores the future object in a HashMap
|
<T,X> List<CompletableFuture<X>> |
generateAllOutputExtensions(OutputPluginModel<T,X> outputPlugin,
T t,
EventModel event)
starts every associated OutputExtension
|
List<Identification> |
getAssociatedOutputExtension(OutputPluginModel<?,?> outputPlugin)
returns all the associated OutputExtensions
|
Identification |
getManagerIdentification()
returns the ID of the Manager
|
void |
removeOutputExtension(OutputExtensionModel outputExtension)
removes the output-extension of id: extensionId from outputPluginList
|
void |
removeOutputPlugin(OutputPluginModel outputPlugin)
removes the OutputPlugin and stops the thread
|
void addOutputExtension(OutputExtensionModel outputExtension) throws IllegalIDException
outputExtension
- the outputExtension to be addedIllegalIDException
- not yet implementedvoid removeOutputExtension(OutputExtensionModel outputExtension)
outputExtension
- the OutputExtension to removevoid addOutputPlugin(OutputPluginModel outputPlugin) throws IllegalIDException
outputPlugin
- OutputPlugin to addIllegalIDException
- not yet implementedvoid removeOutputPlugin(OutputPluginModel outputPlugin)
outputPlugin
- the outputPlugin to removeList<Identification> getAssociatedOutputExtension(OutputPluginModel<?,?> outputPlugin)
outputPlugin
- the OutputPlugin to search for<T,X> List<CompletableFuture<X>> generateAllOutputExtensions(OutputPluginModel<T,X> outputPlugin, T t, EventModel event)
T
- the type of the argumentX
- the return typeoutputPlugin
- the OutputPlugin to generate the Data fort
- the argument or nullevent
- the Event to generate forIdentification getManagerIdentification()
Copyright © 2016. All rights reserved.