Class OnLoadFilters


  • public class OnLoadFilters
    extends java.lang.Object
    Utility methods for creating IOnLoadFilters
    • Constructor Summary

      Constructors 
      Constructor Description
      OnLoadFilters()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static IOnLoadFilter excludeEvents​(java.util.Collection<java.lang.String> excludedTypeIds)
      Filter that disallows a specified set of events.
      static IOnLoadFilter excludeEvents​(java.util.regex.Pattern excludeRegexp)
      Filter that disallows a specified set of events.
      static IOnLoadFilter includeEvents​(java.util.Collection<java.lang.String> includedTypeIds)
      Filter that allows a specified set of events.
      static IOnLoadFilter includeEvents​(java.util.regex.Pattern includeRegexp)
      Filter that allows a specified set of events.
      • Methods inherited from class java.lang.Object

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

      • ALLOW_ALL_FILTER

        public static final IOnLoadFilter ALLOW_ALL_FILTER
    • Constructor Detail

      • OnLoadFilters

        public OnLoadFilters()
    • Method Detail

      • includeEvents

        public static IOnLoadFilter includeEvents​(java.util.Collection<java.lang.String> includedTypeIds)
        Filter that allows a specified set of events.
        Parameters:
        includedTypeIds - the event type ids to include
        Returns:
        a filter
      • excludeEvents

        public static IOnLoadFilter excludeEvents​(java.util.Collection<java.lang.String> excludedTypeIds)
        Filter that disallows a specified set of events.
        Parameters:
        excludedTypeIds - the event type ids to exclude
        Returns:
        a filter
      • includeEvents

        public static IOnLoadFilter includeEvents​(java.util.regex.Pattern includeRegexp)
        Filter that allows a specified set of events.
        Parameters:
        includeRegexp - regular expression for which event type ids to include
        Returns:
        a filter
      • excludeEvents

        public static IOnLoadFilter excludeEvents​(java.util.regex.Pattern excludeRegexp)
        Filter that disallows a specified set of events.
        Parameters:
        excludeRegexp - regular expression for which event type ids to exclude
        Returns:
        a filter