Class FilterEntry


  • public class FilterEntry
    extends java.lang.Object
    Filter Entry used to load filter from the plugin XML file
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ORDER_NOT_DEFINED  
    • Constructor Summary

      Constructors 
      Constructor Description
      FilterEntry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addParameter​(java.lang.String strName, java.lang.String strValue)
      Add an init parameter
      java.lang.String getFilterClass()
      Returns the filter
      java.util.Map<java.lang.String,​java.lang.String> getInitParameters()
      Returns init parameters
      java.lang.String getMappingUrlPattern()
      Returns the Mapping
      java.lang.String getName()
      Returns the Name
      int getOrder()
      Returns the order.
      void setFilterClass​(java.lang.String strFilterClass)
      Sets the filter
      void setMappingUrlPattern​(java.lang.String strMapping)
      Sets the Mapping
      void setName​(java.lang.String strName)
      Sets the Name
      void setOrder​(int nOrder)
      nOrder == == -1 means there is no priority set for the filter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterEntry

        public FilterEntry()
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the Name
        Returns:
        The Name
      • setName

        public void setName​(java.lang.String strName)
        Sets the Name
        Parameters:
        strName - The Name
      • getFilterClass

        public java.lang.String getFilterClass()
        Returns the filter
        Returns:
        The filter
      • setFilterClass

        public void setFilterClass​(java.lang.String strFilterClass)
        Sets the filter
        Parameters:
        strFilterClass - The filter
      • getMappingUrlPattern

        public java.lang.String getMappingUrlPattern()
        Returns the Mapping
        Returns:
        The Mapping
      • setMappingUrlPattern

        public void setMappingUrlPattern​(java.lang.String strMapping)
        Sets the Mapping
        Parameters:
        strMapping - The Mapping
      • addParameter

        public void addParameter​(java.lang.String strName,
                                 java.lang.String strValue)
        Add an init parameter
        Parameters:
        strName - The parameter name
        strValue - The parameter value
      • getInitParameters

        public java.util.Map<java.lang.String,​java.lang.String> getInitParameters()
        Returns init parameters
        Returns:
        Init parameters in a map object
      • getOrder

        public int getOrder()
        Returns the order. getOrder() == -1 means there is no priority set for the filter
        Returns:
        the order
      • setOrder

        public void setOrder​(int nOrder)
        nOrder == == -1 means there is no priority set for the filter
        Parameters:
        nOrder - the order