public class ContextImplementation.OutputImpl extends Object implements Output
| Constructor and Description |
|---|
OutputImpl() |
| 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
|
public OutputImpl()
public void addOutputExtension(OutputExtensionModel outputExtension) throws IllegalIDException
addOutputExtension in interface OutputoutputExtension - the outputExtension to be addedIllegalIDException - not yet implementedpublic void removeOutputExtension(OutputExtensionModel outputExtension)
removeOutputExtension in interface OutputoutputExtension - the OutputExtension to removepublic void addOutputPlugin(OutputPluginModel outputPlugin) throws IllegalIDException
addOutputPlugin in interface OutputoutputPlugin - OutputPlugin to addIllegalIDException - not yet implementedpublic void removeOutputPlugin(OutputPluginModel outputPlugin)
removeOutputPlugin in interface OutputoutputPlugin - the outputPlugin to removepublic List<Identification> getAssociatedOutputExtension(OutputPluginModel<?,?> outputPlugin)
getAssociatedOutputExtension in interface OutputoutputPlugin - the OutputPlugin to search forpublic <T,X> List<CompletableFuture<X>> generateAllOutputExtensions(OutputPluginModel<T,X> outputPlugin, T t, EventModel event)
generateAllOutputExtensions in interface OutputT - the type of the argumentX - the return typeoutputPlugin - the OutputPlugin to generate the Data fort - the argument or nullevent - the Event to generate for @return a List of Future-Objectspublic Identification getManagerIdentification()
getManagerIdentification in interface OutputCopyright © 2016. All rights reserved.