Package org.apache.wicket.markup.html
Class SecurePackageResourceGuard.SearchPattern
- java.lang.Object
-
- org.apache.wicket.markup.html.SecurePackageResourceGuard.SearchPattern
-
- Enclosing class:
- SecurePackageResourceGuard
public static class SecurePackageResourceGuard.SearchPattern extends Object
-
-
Constructor Summary
Constructors Constructor Description SearchPattern(String pattern)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPattern()
Gets pattern.Pattern
getRegex()
Gets regex.boolean
isActive()
Gets active.boolean
isInclude()
Gets include.boolean
matches(String path)
void
setActive(boolean active)
Sets active.void
setInclude(boolean include)
Sets include.void
setPattern(String pattern)
Sets pattern.String
toString()
-
-
-
Constructor Detail
-
SearchPattern
public SearchPattern(String pattern)
Construct.- Parameters:
pattern
-
-
-
Method Detail
-
getPattern
public String getPattern()
Gets pattern.- Returns:
- pattern
-
setPattern
public void setPattern(String pattern)
Sets pattern.- Parameters:
pattern
- pattern
-
matches
public boolean matches(String path)
- Parameters:
path
-- Returns:
- True if 'path' matches the pattern
-
isInclude
public boolean isInclude()
Gets include.- Returns:
- include
-
setInclude
public void setInclude(boolean include)
Sets include.- Parameters:
include
- include
-
isActive
public boolean isActive()
Gets active.- Returns:
- active
-
setActive
public void setActive(boolean active)
Sets active.- Parameters:
active
- active
-
-