public class EventBehaviourController extends Object implements EventBehaviourControllerModel
Constructor and Description |
---|
EventBehaviourController() |
Modifier and Type | Method and Description |
---|---|
void |
controlOutputPluginBehaviour(java.util.function.Function<List<Identification>,HashMap<Integer,List<Identification>>> outputPluginBehaviour)
this method sets the controls for the Output-Plugin Behaviour.
|
HashMap<Integer,List<Identification>> |
getOutputPluginBehaviour(List<Identification> identifications)
generates the data to control the Event
|
public EventBehaviourController()
public void controlOutputPluginBehaviour(java.util.function.Function<List<Identification>,HashMap<Integer,List<Identification>>> outputPluginBehaviour)
Supply a Function, which controls the OutputPlugin-Behaviour. You can set Priorities. The output-plugin with the highest POSITIVE priority (in int) will be processed first. Negative priorities are processed last (so outputPlugins with no priorities will be processed in between positive and negative priorities) This function returns an HashMap, where the keys represent the associated Behaviour and the values the Identification;
outputPluginBehaviour
- all the registered outputPluginspublic HashMap<Integer,List<Identification>> getOutputPluginBehaviour(List<Identification> identifications)
getOutputPluginBehaviour
in interface EventBehaviourControllerModel
identifications
- the Identifications of the OutputPluginsCopyright © 2016. All rights reserved.