public class PatternChecker extends SingleFieldChecker
Modifier and Type | Field and Description |
---|---|
protected Pattern |
pattern |
field, header
Constructor and Description |
---|
PatternChecker(JsonBranch field,
String pattern) |
PatternChecker(JsonBranch field,
String header,
String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
update(PathCache cache,
FieldCounter<RuleCheckingOutput> results)
A push method which is called by the subject, and which transport
information to the Observer objects.
|
getHeader
protected Pattern pattern
public PatternChecker(JsonBranch field, String pattern)
public PatternChecker(JsonBranch field, String header, String pattern)
public void update(PathCache cache, FieldCounter<RuleCheckingOutput> results)
RuleChecker
cache
- The JSON cache objectresults
- The result mapCopyright © 2020. All rights reserved.