Module org.apache.wicket.core
Package org.apache.wicket.markup.html
Class SecurePackageResourceGuard.SearchPattern
java.lang.Object
org.apache.wicket.markup.html.SecurePackageResourceGuard.SearchPattern
- Enclosing class:
- SecurePackageResourceGuard
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets pattern.getRegex()
Gets regex.boolean
isActive()
Gets active.boolean
Gets include.boolean
void
setActive
(boolean active) Sets active.void
setInclude
(boolean include) Sets include.void
setPattern
(String pattern) Sets pattern.toString()
-
Constructor Details
-
SearchPattern
Construct.- Parameters:
pattern
-
-
-
Method Details
-
getPattern
Gets pattern.- Returns:
- pattern
-
getRegex
Gets regex.- Returns:
- regex
-
setPattern
Sets pattern.- Parameters:
pattern
- pattern
-
matches
- Parameters:
path
-- Returns:
- True if 'path' matches the pattern
-
isInclude
Gets include.- Returns:
- include
-
setInclude
Sets include.- Parameters:
include
- include
-
isActive
Gets active.- Returns:
- active
-
setActive
Sets active.- Parameters:
active
- active
-
toString
-