Class TestFilter<T>

java.lang.Object
com.fluxtion.ext.streaming.api.test.TestFilter<T>
Type Parameters:
T - The filtered type
All Implemented Interfaces:
FilterWrapper<T>, Stateful<T>, Test, Wrapper<T>

public class TestFilter<T>
extends java.lang.Object
implements FilterWrapper<T>
A filtering wrapper that propagates the event wave when a referenced test is in the passed state, validated with Test.passed()
Author:
V12 Technology Ltd.
  • Constructor Details

  • Method Details

    • updated

      public boolean updated()
    • filteredUpdate

      public boolean filteredUpdate()
    • 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