Package io.higson.runtime.matcher
Class RegexMatcher
java.lang.Object
io.higson.runtime.matcher.AbstractMatcher
io.higson.runtime.matcher.RegexMatcher
- All Implemented Interfaces:
Matcher
- Direct Known Subclasses:
LikeMatcher
- Author:
- przemek hertel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ValueHolder>
booleanCheck if value matches the pattern.
-
Constructor Details
-
RegexMatcher
public RegexMatcher()
-
-
Method Details
-
matches
Description copied from interface:MatcherCheck if value matches the pattern. Type can be used to parse value or to differentiate matchers behavior depending on value type. Type is defined per parameterLevel.- Type Parameters:
T- level type- Parameters:
value- value form query (provided by user)pattern- pattern from parameter matrix (can be '*')type- type of value, might be null if none was set- Returns:
- true if value matched, false otherwise
-