Package com.fluxtion.ext.streaming.api
Class GenericWrapper<W>
java.lang.Object
com.fluxtion.ext.streaming.api.GenericWrapper<W>
public class GenericWrapper<W> extends java.lang.Object implements Wrapper<W>
Creates a
Wrapper
from a GenericEventHandler
wrapping the
value inside the GenericEvent.- Author:
- Greg Higgins [email protected]
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fluxtion.ext.streaming.api.Stateful
Stateful.StatefulNumber<S>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GenericWrapper(java.lang.Class<W> wrappedClass)
-
Method Summary
Modifier and Type Method Description W
event()
The wrapped nodejava.lang.Class<W>
eventClass()
The type of the wrapped nodeboolean
onEvent()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fluxtion.ext.streaming.api.Stateful
combine, deduct, setBucketCount
Methods inherited from interface com.fluxtion.ext.streaming.api.Wrapper
arg, arg, collect, console, defaultVal, filter, filter, forEach, forEach, get, group, group, id, isValidOnStart, map, map, map, map, map, map, map, map, map, map, notiferMerge, notifierOverride, notifyOnChange, publishAndReset, push, push, reset, resetAndPublish, resetNoPublish, validOnStart
-
Constructor Details
-
Method Details
-
onEvent
public boolean onEvent() -
event
Description copied from interface:Wrapper
The wrapped node -
eventClass
Description copied from interface:Wrapper
The type of the wrapped node- Specified by:
eventClass
in interfaceWrapper<W>
- Returns:
- wrapped node class
-