Package 

Interface ComponentPredicate

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean accept(T component) Decides whether the provided component should be considered as a RUM View.
      abstract String getViewName(T component) Sets a custom name for the tracked RUM View.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • accept

         abstract Boolean accept(T component)

        Decides whether the provided component should be considered as a RUM View. Make sure you are consistent when you validate a component otherwise you may experience some weird behaviours (e.g. by returning true in a first interrogation for a component followed by false in a second interrogation we might alter the data in the in progress View event or we might close the current valid View prematurely).

        Parameters:
        component - a component whose state changed
      • getViewName

         abstract String getViewName(T component)

        Sets a custom name for the tracked RUM View.