public class MaxCountChecker extends SingleFieldChecker
Modifier and Type | Field and Description |
---|---|
protected Integer |
maxCount |
field, header
Constructor and Description |
---|
MaxCountChecker(JsonBranch field,
Integer maxCount) |
MaxCountChecker(JsonBranch field,
String header,
Integer maxCount) |
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 Integer maxCount
public MaxCountChecker(JsonBranch field, Integer maxCount)
public MaxCountChecker(JsonBranch field, String header, Integer maxCount)
public void update(PathCache cache, FieldCounter<RuleCheckingOutput> results)
RuleChecker
cache
- The JSON cache objectresults
- The result mapCopyright © 2020. All rights reserved.