public class RegexpPathCondition extends AbstractPathCondition
Modifier | Constructor and Description |
---|---|
protected |
RegexpPathCondition()
For OR mapping.
|
|
RegexpPathCondition(String aPattern)
Constructs the condition.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getPattern() |
boolean |
matches(String aPath)
Checks if the path matches the condition.
|
protected void |
setPattern(String aPattern) |
String |
toString() |
public RegexpPathCondition(String aPattern)
aPattern
- String the path must start with.protected RegexpPathCondition()
public boolean matches(String aPath)
PathCondition
aPath
- Path to match.protected String getPattern()
protected void setPattern(String aPattern)
aPattern
- The _path to set.Copyright © 2022. All rights reserved.