Interface FilterManager

    • Method Detail

      • addPageFilter

        void addPageFilter​(PageFilter f,
                           int priority)
                    throws java.lang.IllegalArgumentException
        Adds a page filter to the queue. The priority defines in which order the page filters are run, the highest priority filters go in the queue first.

        In case two filters have the same priority, their execution order is the insertion order.

        Parameters:
        f - PageFilter to add
        priority - The priority in which position to add it in.
        Throws:
        java.lang.IllegalArgumentException - If the PageFilter is null or invalid.
        Since:
        2.1.44.
      • getFilterList

        java.util.List<PageFiltergetFilterList()
        Returns the list of filters currently installed. Note that this is not a copy, but the actual list. So be careful with it.
        Returns:
        A List of PageFilter objects
      • destroy

        void destroy()
        Notifies PageFilters to clean up their resources.