Class NodeWrapper<T>
java.lang.Object
com.fluxtion.ext.streaming.api.stream.NodeWrapper<T>
- Type Parameters:
T
-
public class NodeWrapper<T> extends java.lang.Object implements Wrapper<T>
simple wrapper that wraps any node.
- Author:
- V12 Technology Ltd.
-
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 NodeWrapper(T node)
-
Method Summary
Modifier and Type Method Description T
event()
The wrapped nodejava.lang.Class<T>
eventClass()
The type of the wrapped nodeboolean
isValidOnStart()
boolean
onEvent()
void
setValidOnStart(boolean validOnStart)
Wrapper<T>
validOnStart(boolean validOnStart)
Set this property to signal the wrapper has a valid value and child nodes do not have to wait for a trigger notification before using the data from this instance.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, map, map, map, map, map, map, map, map, map, map, notiferMerge, notifierOverride, notifyOnChange, publishAndReset, push, push, reset, resetAndPublish, resetNoPublish
-
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<T>
- Returns:
- wrapped node class
-
isValidOnStart
public boolean isValidOnStart()- Specified by:
isValidOnStart
in interfaceWrapper<T>
-
setValidOnStart
public void setValidOnStart(boolean validOnStart) -
validOnStart
Description copied from interface:Wrapper
Set this property to signal the wrapper has a valid value and child nodes do not have to wait for a trigger notification before using the data from this instance.- Specified by:
validOnStart
in interfaceWrapper<T>
- Returns:
-