Class NodeWrapper<T>

java.lang.Object
com.fluxtion.ext.streaming.api.stream.NodeWrapper<T>
Type Parameters:
T -
All Implemented Interfaces:
Stateful<T>, Wrapper<T>

public class NodeWrapper<T>
extends java.lang.Object
implements Wrapper<T>
simple wrapper that wraps any node.
Author:
V12 Technology Ltd.
  • Constructor Details

  • Method Details

    • onEvent

      public boolean onEvent()
    • event

      public T event()
      Description copied from interface: Wrapper
      The wrapped node
      Specified by:
      event in interface Wrapper<T>
      Returns:
      the wrapped node
    • eventClass

      public java.lang.Class<T> eventClass()
      Description copied from interface: Wrapper
      The type of the wrapped node
      Specified by:
      eventClass in interface Wrapper<T>
      Returns:
      wrapped node class
    • isValidOnStart

      public boolean isValidOnStart()
      Specified by:
      isValidOnStart in interface Wrapper<T>
    • setValidOnStart

      public void setValidOnStart​(boolean validOnStart)
    • validOnStart

      public Wrapper<T> validOnStart​(boolean 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 interface Wrapper<T>
      Returns: