java.lang.Object
de.hybris.platform.sap.core.requestsequencer.configurer.impl.UrlPatternImpl
All Implemented Interfaces:
UrlPattern

public class UrlPatternImpl extends Object implements UrlPattern
Default Implementation for UrlPattern.
  • Constructor Details

    • UrlPatternImpl

      public UrlPatternImpl()
  • Method Details

    • setIncludeUrlPatternList

      public void setIncludeUrlPatternList(ConfigurerEntitiesListImpl<Pattern> regExMap)
      Parameters:
      regExMap - a list of include regular expressions
    • getIncludeUrlPatternList

      protected ConfigurerEntitiesListImpl<Pattern> getIncludeUrlPatternList()
      Returns:
      a list of include regular expressions
    • setExcludeUrlPatternList

      public void setExcludeUrlPatternList(ConfigurerEntitiesListImpl<Pattern> regExMap)
      Parameters:
      regExMap - a list of exclude regular expressions
    • getExcludeUrlPatternList

      protected ConfigurerEntitiesListImpl<Pattern> getExcludeUrlPatternList()
      Returns:
      a list of exclude regular expressions
    • getIncludeUrlRegExList

      public List<String> getIncludeUrlRegExList()
      Specified by:
      getIncludeUrlRegExList in interface UrlPattern
      Returns:
      the URL Pattern
    • setIncludeUrlRegExList

      public void setIncludeUrlRegExList(List<String> regExList)
      Specified by:
      setIncludeUrlRegExList in interface UrlPattern
      Parameters:
      regExList - hold the url pattern as a regular expression
    • setExcludeUrlRegExList

      public void setExcludeUrlRegExList(List<String> urlRegEx)
      Specified by:
      setExcludeUrlRegExList in interface UrlPattern
      Parameters:
      urlRegEx - hold the url pattern as a regular expression
    • getExcludeUrlRegExList

      public List<String> getExcludeUrlRegExList()
      Specified by:
      getExcludeUrlRegExList in interface UrlPattern
      Returns:
      the URL Pattern
    • init

      public void init()
      Compiles a RegEx Pattern object for each element of the include URL RegEx pattern list and the exclude URL RegEx pattern list and adds the resulting Pattern object to the corresponding configurerListForUrlIncludePatterns list or configurerListForUrlExcludePatterns list.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compileUrlPatterns

      protected void compileUrlPatterns(List<String> urlPatterns, ConfigurerEntitiesListImpl<Pattern> compiledUrlPatterns)
      Compiles the URL RegEx patterns to RegEx Pattern objects.
      Parameters:
      urlPatterns - list of URL RegEx patterns
      compiledUrlPatterns - list of RegEx Pattern objects