public static class SecurePackageResourceGuard.SearchPattern extends Object
Constructor and Description |
---|
SecurePackageResourceGuard.SearchPattern(String pattern)
Construct.
|
Modifier and Type | Method and 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() |
public SecurePackageResourceGuard.SearchPattern(String pattern)
pattern
- public String getPattern()
public Pattern getRegex()
public void setPattern(String pattern)
pattern
- patternpublic boolean matches(String path)
path
- public boolean isInclude()
public void setInclude(boolean include)
include
- includepublic boolean isActive()
public void setActive(boolean active)
active
- activeCopyright © 2006–2014 Apache Software Foundation. All rights reserved.