Package org.ametys.web.skin
Class StaticTemplatesAssignmentHandler.AssignmentCondition
java.lang.Object
org.ametys.web.skin.StaticTemplatesAssignmentHandler.AssignmentCondition
- Enclosing class:
- StaticTemplatesAssignmentHandler
Class representing the condition for a template assignment
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the skin nameGet the template nameboolean
matchCondition
(Page page) Test if page matches conditionvoid
setRegExpPath
(String rePath, boolean reverse) Set the RegExp for path
-
Constructor Details
-
AssignmentCondition
Constructor- Parameters:
skinName
- the skin nametemplateName
- the template name
-
-
Method Details
-
setRegExpPath
Set the RegExp for path- Parameters:
rePath
- the RegExp for pathreverse
- true to reverse mode
-
matchCondition
Test if page matches condition- Parameters:
page
- the page to test- Returns:
- true if page matches condition
-
getSkinName
Get the skin name- Returns:
- the skin name
-
getTemplateName
Get the template name- Returns:
- the template name
-