Class StaticTemplatesAssignmentHandler.AssignmentCondition

    • Constructor Detail

      • AssignmentCondition

        public AssignmentCondition​(String skinName,
                                   String templateName)
        Constructor
        Parameters:
        skinName - the skin name
        templateName - the template name
    • Method Detail

      • setRegExpPath

        public void setRegExpPath​(String rePath,
                                  boolean reverse)
        Set the RegExp for path
        Parameters:
        rePath - the RegExp for path
        reverse - true to reverse mode
      • matchCondition

        public boolean matchCondition​(Page page)
        Test if page matches condition
        Parameters:
        page - the page to test
        Returns:
        true if page matches condition